Palindrom / JSONPatcherProxy

ES6 proxy powered JSON Object observer that emits JSON patches when changes occur to your object tree.
94 stars 14 forks source link

Add benchmark comparison based on an TSV file #56

Closed warpech closed 5 years ago

warpech commented 5 years ago

This PR adds the script that was used to create the benchmarks in https://github.com/Palindrom/JSONPatcherProxy/pull/44#issuecomment-522525391.

Preview:

image

The same feature can be used to measure performance impact of changes before committing. Just call npm run bench, then make your changes, then npm run bench again:

image