pygments wrapper for ruby via embedded python
C Ruby
Switch branches/tags
Nothing to show
Pull request Compare This branch is 211 commits behind tmm1:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ext
lib
test
vendor
.gitignore
Gemfile
README.md
Rakefile
bench.rb
pygments.rb.gemspec

README.md

pygments.rb

a ruby wrapper for the pygments syntax highlighter via embedded python.

$ ruby -rubygems bench.rb 50
                               user     system      total        real
albino                     0.050000   0.050000  12.830000 ( 13.180806)
pygments::c                1.000000   0.010000   1.010000 (  1.009348)
pygments::ffi + reload    11.350000   1.240000  12.590000 ( 12.692320)
pygments::ffi              1.130000   0.010000   1.140000 (  1.171589)