Skip to content

Instantly share code, notes, and snippets.

@coke

coke/diffs.out Secret

Last active December 20, 2016 02:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coke/1fb4a80aa833945632b7c1cc1a0a2981 to your computer and use it in GitHub Desktop.
Save coke/1fb4a80aa833945632b7c1cc1a0a2981 to your computer and use it in GitHub Desktop.
Both against a build that's run at least once.
At git version (on highlights branch) : 2c227d5
With diff below.
$ time perl6 htmlify.p6 --parallel=1 --use-highlights
real 12m53.936s
user 12m31.779s
sys 0m30.869s
$ time perl6 htmlify.p6 --parallel=1
real 5m20.700s
user 4m38.733s
sys 0m8.739s
$ git diff
diff --git a/highlights/highlight-filename-from-stdin.coffee b/highlights/highlight-filename-from-stdin.coffee
index 908b481..255d7e3 100755
--- a/highlights/highlight-filename-from-stdin.coffee
+++ b/highlights/highlight-filename-from-stdin.coffee
@@ -15,7 +15,6 @@ stdin.on 'data', (input) ->
name = input.trim()
process.exit() if name == 'exit'
file_to_hl = path.resolve(name)
- process.stderr.write('HL')
foo = ->
fs.readFileSync file_to_hl, 'utf8'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment