Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stefanpenner/promise_benchmarks
micro benchmarks
https://github.com/stefanpenner/promise_benchmarks
Last synced: 17 days ago
JSON representation
micro benchmarks
- Host: GitHub
- URL: https://github.com/stefanpenner/promise_benchmarks
- Owner: stefanpenner
- License: mit
- Created: 2013-11-09T22:30:38.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2016-02-04T03:55:16.000Z (almost 9 years ago)
- Last Synced: 2024-10-17T18:06:05.490Z (19 days ago)
- Language: JavaScript
- Homepage:
- Size: 401 KB
- Stars: 6
- Watchers: 4
- Forks: 4
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
promise_benchmarks
==================some micro benchmarks with plans for more indepth benchmarks as time permits.
Usage
=====```sh
npm i```
commandline
--------------```sh
// Match all tests that either start with 'micro-' or have a number in their name
node index.js --test=filter
node index.js --test="all object"
node index.js --test="all object",filter //combined
node index.js --impl="rsvp"
node index.js --impl="rsvp-3.0.8","when" // more specific
node index.js -i=1,2,3 // choose the iteration counts
node index.js --impl=when,q,rsvp --test=filter,"all object" -i=1,2,3 // all together
```webserver
---------```sh
PORT=9999 grunt server
// navigate to http://127.0.0.1:9999 (PORT is configurable, defaults: 8000)
```new implementations
-------------------its still ghetto but,
implementations reside: https://github.com/stefanpenner/promise_benchmarks/tree/master/implementationstypically AMD works fine, although lack of r.js means i quickly just deanonymize manually like: [this](https://github.com/stefanpenner/promise_benchmarks/blob/master/implementations/q.js#L48)
node side importing happens: [here](https://github.com/stefanpenner/promise_benchmarks/blob/master/lib/config/implementations.js)
client side importing happens: [here](https://github.com/stefanpenner/promise_benchmarks/blob/master/index.html#L1)