summaryrefslogtreecommitdiff
path: root/bench
Commit message (Collapse)AuthorAgeFilesLines
* don't change benchmark rulesKornelius Kalnbach2017-09-031-1/+1
|
* tweak benchmark numbers, improve accuracyKornelius Kalnbach2016-12-281-3/+7
|
* cleanup benchmark script (finally!)Kornelius Kalnbach2013-06-301-127/+31
|
* remove dump/undump functionalityKornelius Kalnbach2013-06-131-40/+14
|
* do not write to disk in benchmarkingKornelius Kalnbach2013-02-171-1/+1
|
* last changes before release of 1.0.6v1.0.6Kornelius Kalnbach2012-04-061-0/+1
|
* remove obsolete big C example code, to make this a Ruby project on GitHubKornelius Kalnbach2011-09-0917-160011/+0
|
* cleanups: Page encoder is default for HTML, benchmark KB/s instead of tokens/smurphy2011-07-041-59/+2
|
* use real kilobyte for benchmarksmurphy2011-06-111-3/+3
|
* updated benchmark script: use Nx param to repeat x times, KB means kilo (1000)murphy2011-04-171-25/+23
|
* Benchmark doesn't bench IO any more.murphy2010-09-211-12/+12
|
* rake bench now uses line numbers (slower, but more realistic).murphy2010-06-291-0/+1
|
* Benchmark script uses -Ofull option for pygmentize.murphy2010-06-271-1/+1
|
* Use Text encoder instead of deprecated Tokens#text method.murphy2010-06-011-1/+1
|
* Fixed benchmark script.murphy2010-05-051-1/+1
|
* Added JSON example benchmark data.murphy2010-05-011-0/+655
|
* Direct Streaming! See #142 and Changes.textile.murphy2010-05-011-5/+5
|
* Fixed benchmarks.murphy2010-04-151-7/+0
|
* Cleanup.murphy2010-03-261-1/+0
|
* Benchmark: Actually, the abbreviation for second is s, not sec.murphy2009-06-091-4/+4
|
* Improved benchmark script.murphy2009-01-122-10090/+10094
| | | | | | | | | * Made benchmark script run 5 times to visualize JVM warmup for JRuby. * Fixed encoding of example.ruby file. * Compatible with latest pygments version. Thanks to Charles Oliver Nutter and Yehuda Katz for the suggestions.
* Fixes for Ruby 1.9.murphy2008-12-251-1/+1
|
* Benchmark, comparison: replaced SilverCity with pygmentsmurphy2007-04-241-1/+16
| | | | | | | A bit of code and documentation cleanup HTML encoder: fixed css class output for NO_HIGHLIGHT tokens when :info is set. Fixed Text encoder.
* New Scanner: Scheme (thanks closure!)murphy2007-01-011-0/+38
| | | | | | | | | | | | | | | Test and example added. Token changed: operator_fat instead of operator_name (for use with LISP-like parentheses). Added file_extension for Scanners. Improved CodeRay::Suite: - uses scanners file extension now - example parameter is now named "only" - only param overwrite MAX_CODE_SIZE_TO_HIGHLIGHT
* Done:murphy2007-01-011-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | General: - Declared version 0.7.6. - Moved WordList, CaseIgnoringWordList, Plugin, PluginHost and FileType into CodeRay namespace. CodeRay should be "clean" now, except for the String#to_unix helper function. - Fixed a bit of documentation. - CodeRay binary: Prepare for streaming switch. Scanners: - Added code= alias for string=. - Added streaming? method: Is this Scanner in streaming mode? - Enhanced error info a bit. - Ruby scanner: - Highlights Regexp heredocs now. They may be added to Ruby 1.9. - Speedups with better support for Ruby 1.9. - Change in whitespace handling (faster and cleaner now.) - Speed up some operator recognition (saving two string comparisons). - Declared C and Plaintext Scanners as Streamable. Tokens: - Changed Text/Block token recognition (#is_a? ::String for Ruby 1.9 support). - New method: Tokens#text yields the code string. - text_size fixed. - Token kind shortcuts (like r for reserved) are now defined in token_classes.rb (instead of encoders/html/classes.rb). Encoders: - Debug Scanner added. - Base encoder class adds to @out when encoding (if @out is set). - A little Tokens scanner speedup. - Text encoder uses text_token. - Statistic encoder counts block tokens. - Smaller changes in XML and HTML encoders. Styles: - cYcnus style defines a debug class now. Duo: - scanner and encoder are now methods. Scanner and Encoder are created (and cached) when needed, not earlier. - Documented. Tests: - Disabled encoder and scanner list check (breaks too often). - Added identity test, which checks if tokens#text matches the input. - Added nocolor switch. Developer tools: - Benchmark uses Encoder#file_extension for output now. - Rakefile: Support for 19, 18, yarv and ruby switches for easy comparing different Ruby versions. - Statistic: Demos are no longer tests.
* Fixed warning in bench.rb.murphy2006-10-181-1/+0
| | | | | | | | | | Ruby Scanner: improved handling of ambiguos values. - operator methods are now :ident instead of :operator - fancy_allowed and regexp_allowed are now value_expected - value_expected works in operator method calls - tests enhanced and adjusted Scanner tests: new diffed option, diff doesn't imply noassert anymore
* Fixed functional test.murphy2006-10-181-0/+5
| | | | | | | Fixed Ruby scanner (/= was scanned as regexp!) Made bench.rb run from any folder. Made scanner test diff function work via EDITOR instead of gvimdiff.
* Totally revamped test system. Nitro will be fixed soon.murphy2006-07-111-0/+0
| | | | | A bunch of new tests. Delphi and XML are now tested, too. bench/example.dump deleted (depends on Ruby version, OS, whatever. Nothing for the repo.)
* Big re-indenting - no more tabs!murphy2006-07-101-116/+116
|
* New Version: 0.7.0!murphy2006-04-192-2/+28166
| | | | | | | | | | | Adjusted gem.rake. HTML scanner fixed. Enhanced filetype.rb: .rake files, xml, yaml (preparing for YAML scanner.) Enhanced test/ruby/1.in.rb. Added XML scanner with example. plugin.rb: made all_plugin_names public.
* FOLDERS documentation added.murphy2006-04-151-0/+169
| | | | Rakefile updated.
* Large update: Scanners for HTML, RHTML and Nitro-XHTML added.murphy2006-04-103-0/+938
| | | | | | | | | | | | | | | | | | | | | | | | | | | | CSS style changes/enhancments (mainly the new background color for inline code, affects all Ruby code.) Demos and tests adjusted. Plugin: new PluginHost::default method. Scanner: - New setup method - ability to re-use a scanner - ability to keep the tokens - minor changes to token caching and string flattening Encoder: Error if token content is neither String nor Symbol. HTML encoder: - more warnings for unclosed tokens - output now UTF-8 Ruby Scanner: - bug: symbols before => now do not include =; {:foo=>bar} is valid Ruby code - try to close all open tokens - constants now all with specific namespace (for speed, I hope) Styles: new :entity/en class. Test suite now gives hinted HTML output.
* Added HTML scanner!murphy2006-04-041-1/+1
| | | | | | | Added test/html/suite.rb and tolkien.in.html test. Benchmark produces inline line numbers now. Minor changes to Ruby and C scanners. Rakefile: unit tests now in -d mode.
* HTML Encoder: inline numerization corrected.murphy2006-03-231-3/+3
| | | | | | | | New demo: demo/demo_html_list.rb. Some demos adjusted. C Scanner: error messages fixed. Rakefile: test_demos now in debug mode. test/suite.rb is using reusable Scanners now.
* Made caching demo more expressing.murphy2006-03-211-2/+2
|
* CodeRay::Duo added for cool caching!murphy2006-03-211-0/+39
| | | | | | | | bench/caching.rb added tĀ“for demonstrating this. HTML Encoder: creates unwrapped output by default (still problems with that.) Numerizing changed (doesn't try to prevent nesting errors) Speedup: "::String" is faster.
* Example benchmark extended.murphy2005-12-101-1/+10
|
* bench.rb fixed, example output added.murphy2005-12-102-1/+9
|
* bench/bench.rb: Added SilverCity benchmarkingmurphy2005-11-051-3/+21
| | | | | | | | | | | | | | | | | demo/demo_load_encoder.rb enhanced demo/demo_load_scanner.rb added .outs added plugin.rb: Fixed load_all encoder.rb, scanner.rb adjusted helpers/word_list.rb: Fixed a bug in CaseIgnoringWordList.new TODO: Updated new ROADMAP coderay.rb: increased Version number added Version System documentation
* bench.rb: back to :table stylemurphy2005-11-041-1/+1
|
* HTML highlighting:murphy2005-11-041-1/+8
| | | | | | | | | | | | | | | | | | html_css.rb: Bugfixes CSS style scanning went for wrong range moved some styles into the right place html_output.rb: numerization excluded templates renamed new LIST template html_numerization.rb (new): new :line_numbers style :list (beta) Benchmarking: Split Options into lines :list style for testing
* Added the good old benchmark suite to the repository.murphy2005-10-2912-0/+140247