rubychan / coderay

Fast and easy syntax highlighting for selected languages, written in Ruby.
http://coderay.rubychan.de/
Other
846 stars 115 forks source link

DSL experiments #182

Open korny opened 9 years ago

korny commented 9 years ago

This might beoce CodeRay 2.0.

LOCAL_CODERAY=../coderay nice -20 rake REPEATS=10 SHOOTERS="CodeRay" LANGUAGES="javascript javascript:1 javascript:2 javascript:3 javascript:4 javascript:5" FORMATS=null METRIC=time SIZE=1000000

                       Welcome to
  ~~~ The Great Syntax Highlighter Shootout v1.6 ~~~

using Ruby 2.1.5 and Python 2.7.6, repeating 10 times

                  CodeRay 1.1.1
JAVASCRIPT (1000 kB)
=> null               324.56 ms

JAVASCRIPT1 (1000 kB)
=> null               378.31 ms

JAVASCRIPT2 (1000 kB)
=> null               388.29 ms

JAVASCRIPT3 (1000 kB)
=> null               326.44 ms

JAVASCRIPT4 (1000 kB)
=> null               411.07 ms

JAVASCRIPT5 (1000 kB)
=> null               329.04 ms
-------------------------------
Total score           2806 kB/s
Relative                       

Benchmarks using shootout.

screenshot_03