Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thlorenz/benchgraph
Runs {io,node}.js benchmarks and generates pretty graphs
https://github.com/thlorenz/benchgraph
Last synced: 2 months ago
JSON representation
Runs {io,node}.js benchmarks and generates pretty graphs
- Host: GitHub
- URL: https://github.com/thlorenz/benchgraph
- Owner: thlorenz
- License: mit
- Created: 2015-05-12T19:33:29.000Z (over 9 years ago)
- Default Branch: gh-pages
- Last Pushed: 2015-05-17T04:15:22.000Z (over 9 years ago)
- Last Synced: 2024-10-18T02:28:43.181Z (2 months ago)
- Language: JavaScript
- Homepage: https://thlorenz.github.io/benchgraph
- Size: 1.89 MB
- Stars: 22
- Watchers: 5
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# benchgraph
Runs {io,node}.js benchmarks and generates pretty graphs
[![assets/linux-net.png](assets/linux-net.png)](https://thlorenz.github.io/benchgraph#linux-net)
## Notes on Benchmarks
The benchmarks were copied from the io.js repo (v2.0.1) and slightly adapted.
Some of them don't run with `node-v0.10` or even `node-v0.12`. When only `0.10` failed the data was included, but the
graph only compares io.js and node-v0.12 obviously.When both failed the data has not been included at all, namely for the following:
- url *fail due to `v8 module not found`*
- querytstring *fail due to `v8 module not found`*
- crypto/rsa-encrypt-decrypt-throughput
- http/http-server-for-chunky-client *produces no data ATM*## Adding benchmarks for your OS
If you're running a nix OS you'd like to benchmark, i.e. you may want to try an older kernel, you can easily do that and
include the data.- run [`./benchgraph-all`](https://github.com/thlorenz/benchgraph/blob/gh-pages/benchgraph-all) on your machine
- a folder with your OS's specs will appear in the [data](https://github.com/thlorenz/benchgraph/tree/gh-pages/data)
folder
- note its exact name and add it to the list of OSs
[here](https://github.com/thlorenz/benchgraph/blob/b15ea267ab35f316579d87d95c517063db9439fd/client/js/main.js#L19)
- additionally select [a nice title for
it](https://github.com/thlorenz/benchgraph/blob/b15ea267ab35f316579d87d95c517063db9439fd/client/js/main.js#L29)
- run `npm run bundle`
- then submit a pull requestIn order to test things while you're working on this you can run `npm run watch` and serve the root in order to inspect
the page after every change.## License
MIT