fast-json-stringify icon indicating copy to clipboard operation
fast-json-stringify copied to clipboard

2x faster than JSON.stringify()

Results 60 fast-json-stringify issues
Sort by recently updated
recently updated
newest added

### Prerequisites - [x] I have written a descriptive issue title - [x] I have searched existing issues to ensure the bug has not already been reported ### Fastify version...

https://v8.dev/blog/json-stringify Does it still make sense to use fast-json-stringify?

Just a small performance improvements when an object contains only one key or an array only one item Side note: the benchmark don't cover this case

> Monomorphic: If a property always gets the same class shape. It'a a good performance improvments on Array and Object, but not on primitive types ### Raw benchmark ``` Checking...

TLTR: the current benchmark is not reliable see https://github.com/fastify/fast-json-stringify/pull/801#issuecomment-3384792312 In this PR have migrated the current benchmark based on benchmark.js ([abbandoned](https://github.com/bestiejs/benchmark.js), last update 7 years ago) to [tinybench](https://github.com/tinylibs/tinybench). I have...

We should first make some good benchmarks for strings, with various cases. E.g. I think one of the tests is repeated NUL-character (\u0000), which is basically pointless, because it should...

Bumps [tsd](https://github.com/tsdjs/tsd) from 0.32.0 to 0.33.0. Release notes Sourced from tsd's releases. v0.33.0 Update to TypeScript 5.9 128fb5e https://github.com/tsdjs/tsd/compare/v0.32.0...v0.33.0 Commits 9b8d615 0.33.0 128fb5e Update to TypeScript 5.9 See full diff...

dependencies
javascript

Bumps [json-accelerator](https://github.com/elysiajs/json-accelerator) from 0.0.2 to 0.1.7. Release notes Sourced from json-accelerator's releases. 0.1.7 What's new Improvement: improve array operation Full Changelog: https://github.com/elysiajs/json-accelerator/compare/0.1.6...0.1.7 0.1.6 What's new Improvement: reduce instruction for string...

dependencies
javascript

### Prerequisites - [x] I have written a descriptive issue title - [x] I have searched existing issues to ensure the bug has not already been reported ### Fastify version...

### Prerequisites - [x] I have written a descriptive issue title - [x] I have searched existing issues to ensure the bug has not already been reported ### Fastify version...