Skip to content

Instantly share code, notes, and snippets.

@spitty
Last active April 20, 2016 07:42
Show Gist options
  • Select an option

  • Save spitty/883dd4734515d8422e44605ae79fa914 to your computer and use it in GitHub Desktop.

Select an option

Save spitty/883dd4734515d8422e44605ae79fa914 to your computer and use it in GitHub Desktop.

Revisions

  1. spitty revised this gist Apr 20, 2016. No changes.
  2. spitty created this gist Apr 19, 2016.
    18 changes: 18 additions & 0 deletions benchmarking_pygments_results.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,18 @@
    Benchmark Report
    ================

    Benchmark Regex
    ---------------

    name | rank | runs | mean | sd | timesBaseline
    -------------------------------|------|------|-----------|-----------|--------------
    proposed function | 1 | 100 | 3.124e-05 | 0.0001394 | 1.0
    proposed function long | 2 | 100 | 3.994e-05 | 7.532e-06 | 1.27873607083
    another proposed function | 3 | 100 | 5.872e-05 | 8.649e-06 | 1.87963669669
    original operator | 4 | 100 | 8.42e-05 | 1.112e-05 | 2.69546634102
    another proposed function long | 5 | 100 | 0.0004231 | 0.0002684 | 13.5451076172
    original operator long | 6 | 100 | 1.135 | 0.04266 | 36321.8781865

    Each of the above 600 runs were run in random, non-consecutive order by
    `benchmark` v0.1.5 (http://jspi.es/benchmark) with Python 2.7.6
    Linux-3.19.0-32-generic-x86_64 on 2016-04-19 16:01:54.