mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-02-25 01:33:37 +01:00
2 Commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
|
3dce916074 |
Use strict equality except for null/undefined for improved performance and behavior (#2514)
* Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * undo strict null checking * remove added semicolons * Prettier Formatting Changes * Update .eslintrc add smart strict equality rule * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. * Convert files to use strict equality * fix prettier eslint errors * fix remaining prettier complaints * use strict null equality in serializer |
||
|
8f9bfdac2b |
Benchmark consistence && Allow users to select benches to run (#1765)
* Use slate rather than relative path * Move benchmark to one dir * Use slate-* instead of relative path * Before and After Function * Remove un-necessary cross-env * Hard fix * Lint the hard fix * Reset memory in bench() * Working on Benchmark Frameworks * Rename to slate-dev-benchmark * Add packages * Fix prettier bug * Benchmark framework is in working * Do not log in test * max times test * mute logger in test * add hr time * Better support for maxTime; add support of split runs to save memory space * Fix maxTries * Add global.gc * Global gc for each bench * Better test interface * Test max-time * Test max-time done * Add Benchmark among packages * Starting to get benchmark running * Pure Node lib * Change babelrc for pure Node benchmark * Moving Benchmarks * Get benchmark and test running * Get benchmark for slate-html-serializer * add slate-react * add slate/changes * all benchmarks are converted * Run benchmark by yarn * Run benchmark with expose-gc * Annotate Bench.js * Do not bundle slate-dev-benchmark in rollup * Add annotation * Allow config file to enable part benchmark compare * Add config for compare * support compare.js * Do not re-allocate memory; due to a large heap taken influence result * Render with Decorations * get active marks at range * Fix bug in showing percents * Fix percent showing bug * chore: add more benches * Better output of benchmark * Fix linting * decoration and normal as different benchmark test * Fix deserialize benchmark * README.md * Fix Readme.md * README.md * block-spacing config * safer user config loading * use package.json to load package in test * Consistent linting * move components to parent directory * Annotation styling in package * margin line before multi-line block * Fix naive bug * Fix naive bug * Fix a blank line * only log user and hr * Better name * Better annotation for runBundleTasks * Fix typo * Better logger * Move async to test * Omit skip * Only log the user space time * Single line async sleep * file name fix * Fix annotation * Better output of compare * Remove get-characters(-at-range) benchmarks * Restore emoji * Capitalize types * Remove compare to another area * Add grep and config interface * Linting files * Linting benchmarks * Linting benchmarks * Update yarn.lock |