Skip to content

Commit

Permalink
Performance & Readability > Benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbankhead committed Mar 16, 2017
1 parent 9fa1d3a commit 1ec9dd5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
6 changes: 5 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@

- Search before filing an issue or pull request
- Feel free to take a try at [FUTURE.md](FUTURE.md)
- Create tests and benchmarks for new features.
- Create tests for new features.
- If you need help we can work through this during the PR process, but it will take additional time.
- When it comes to performance vs readability the following order is preferred:
- performance gains greater than 5%
- code readability
- performance gains less than 5%
- Run tests before making proposed changes (we use [pre-commit](https://www.npmjs.com/package/pre-commit) to automate this step)
- You must agree to the [Developer's Certificate of Origin](http://developercertificate.org) (found below).

Expand Down
5 changes: 0 additions & 5 deletions FUTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
- examples/
- add a few examples

- benchmark/
- should save (as JSON?) and compare existing results in [data/benchmark/](data/benchmark/)
- compare based on time w/ diff by percent
- run each command an appropriate amount of times

- parse JSON results
- `results.json`

Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
"nyc": {
"branches": 100,
"exclude": [
"benchmark",
"dev"
],
"functions": 100,
Expand Down

0 comments on commit 1ec9dd5

Please sign in to comment.