ember-cli-htmlbars icon indicating copy to clipboard operation
ember-cli-htmlbars copied to clipboard

chore: replace json-stable-stringify with safe-stable-stringify

Open BridgeAR opened this issue 4 years ago • 1 comments

This is a performance improvement as the latter is actually faster.

json-stable-stringify x 13,870 ops/sec ±0.72% (94 runs sampled) safe-stable-stringify x 30,367 ops/sec ±0.39% (96 runs sampled)

The only difference is that objects with circular reference are from now on also accepted instead of throwing an error.

BridgeAR avatar Oct 31 '21 14:10 BridgeAR

Hmm, not sure why CI didn't run. Merging master here again to see if that kicks things off.

rwjblue avatar Jan 31 '22 13:01 rwjblue