1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-02-20 15:14:38 +01:00

20 Commits

Author SHA1 Message Date
Soreine
dbe747ad8e Remove lodash dependency 2016-12-02 12:41:19 +01:00
Soreine
db7ae6aae6 Make the successive normalization benchmark bigger and deeper 2016-11-15 11:26:16 +01:00
Soreine
c122ec750d Increase the size of the benchmarked document 2016-11-14 10:56:32 +01:00
Soreine
6981442a4c Add benchmark for successive normalization 2016-11-14 10:39:15 +01:00
Soreine
b54ddf10ce Add benchmark for Node.getTexts 2016-11-07 17:26:51 +01:00
Soreine
4792a5e508 Cleaner default benchmark teardown 2016-11-07 17:14:28 +01:00
Soreine
f51189ce9a Fix teardown 2016-11-07 15:40:06 +01:00
Soreine
1424103975 Do not use window for globals. Expose clear/disable functions in utils/memoize 2016-11-07 15:40:06 +01:00
Soreine
bada4fa3f1 Add teardown for benchmarks, and adapt memoize-utils benchmark 2016-11-07 15:39:27 +01:00
Soreine
e505b7a159 Remove ludicrous amount of setup work that was needed to prevent memoization 2016-11-07 15:39:27 +01:00
Samy Pessé
a3b7b0789f Normalize the whole document in benchmarks 2016-11-03 11:02:57 +01:00
Soreine
a4460354c6 Use optional argument in memoize-util benchmark 2016-11-02 17:23:30 +01:00
Soreine
0dc3c4ef8a Add memoize-util benchmark 2016-11-02 16:23:40 +01:00
Soreine
6d88672e83 Fix insert-text benchmark 2016-10-28 12:35:00 +02:00
Soreine
2a6fc88bfe Merge branch 'more-benchmarks' into schema-normalize 2016-10-28 12:34:27 +02:00
Soreine
2f3dda35aa Adapt benchmarks 2016-10-28 11:45:14 +02:00
Soreine
1fde66b480 Increase benchmark min samples 2016-10-25 11:20:01 +02:00
Soreine
c4a9badb73 Prettier JSON output 2016-10-25 11:19:54 +02:00
Soreine
400d49ccb3 Add benchmark for text insertion 2016-10-25 10:49:45 +02:00
Nicolas Gaborit
f1a5d6f3b4 Add benchmarks (#368)
* Add script for benchmark

* Add error handling

* Rename folder to perf/benchmarks

* Add README

* Avoid memoization between benchmark runs

* Handle multiple benchmark. Add setup to benchmarks

* Run benchmarks through Travis

* Add command line options for JSON output

* Add export to JSON, and comparison with reference

* Improve serialize and fix results display

* Add perf/ to .npmignore

* Print error message

* Create normal example for normalize

* Add normalize-document wide and deep

* Add split-block normal, deep and wide

* Add delete-backward benchmarks

* Fix too much newlines

* Use microtime for better results maybe?

* Print number of runs

* Add minSamples options for better accuracy

* Use babel-node to launch benchmarks

* Use jsdom-global instead of mocha-jsdom (deprecated)

* Add rendering benchmark example

* Fix jsdom usage.

* Use JSX because we can

* Only use on('cycle') that is called even on error

* Example of successive rendering benchmark

* Rename README, and explain how to add a benchmark

* Add C++11 to Travis to install microtime

* Update Readme.md # Understanding the results

* Try to fix Travis build with microtime

* Travis: use before_install

Instead of overwriting install

* Forgot to remove mocha-jsdom import

Thanks node_modules...

* Add jsdom as devDependency

(required as peer dependency by jsdom-global)

* Add --only option to run only a specific benchmark

* Print name onStart rather than at end
2016-10-24 15:06:17 -07:00