question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Benchmarking breakdown

See original GitHub issue

Parsimmon is pretty fast, but we’re not sure which parts are fast and which parts are slow!

Add a benchmark folder with examples we can run and some kind of analysis (flame chart?) of where Parsimmon is slow.

We could use these results to make performance improvements to Parsimmon.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:18 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
wavebeemcommented, Jan 23, 2018

I guess we could check performance of the current version against the previous version? Do you think that seems reasonable?

1reaction
bd82commented, Oct 1, 2017

You may want to have a look here as a template to start with: https://github.com/SAP/chevrotain/tree/master/benchmark_web

Points of interest:

  • Running the benchmark the browser is better as:

    • Can easily check on different runtimes.
    • Can easily use profiling tools in the browsers.
      • I know its possible from node.js too, but did not work as well for me.
  • I normally use the benchmarks after each new feature has been implemented By comparing Dev version performance to the previous version performance regressions can be avoided…

  • This benchmark uses both iframes and webworkers in an attempt to isolate the bench cases.

    • Not sure if profiling works with webworkers… (it works)
Read more comments on GitHub >

github_iconTop Results From Across the Web

The Different Types Of Benchmarking – Examples And Easy ...
Broadly speaking, benchmarks break down into two core categories: internal and external. Internal benchmarking compares performance, processes and practises ...
Read more >
Breakdown of a Benchmark Score Without Internal Analysis of ...
Abstract: A breakdown of a benchmark score is how much each aspect of the system performance affects the score.
Read more >
8 Steps of the Benchmarking Process | Lucidchart Blog
In business, benchmarking is a process used to measure the quality and performance of your company's products, services, and processes. These measurements don't ......
Read more >
The Benefits of Benchmarking in Business Operations
Benchmarking your business operations with defined metrics can help track progress and reach goals faster. Here are the benefits of benchmarking.
Read more >
How to Benchmark Your Website's Performance - Databox
A full guide on the most important metrics you should benchmark to understand ... Your Website's Performance: A Detailed Metrics Breakdown.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found