An Interest In:
Web News this Week
- April 3, 2024
- April 2, 2024
- April 1, 2024
- March 31, 2024
- March 30, 2024
- March 29, 2024
- March 28, 2024
Help me benchmark on your device (8,000x faster TypeScript runtime validator)
Series of TypeScript Compiler based Libraries
- I made 1,000x faster TypeScript validator library
- I found 10,000x faster TypeScript Validator Library
- Help me benchmark on your device
- I made 10x faster JSON.stringify() functions, even type safe
- Do not use class-validator and class-transformer, but use pure TypeScript type instead
- Automatic React components generator from TypeScript type
Hello, I'm a developer of typescript-json. I had introduced typescript-json as a superfast runtime validator library of TypeScript based on a benchmark. However, the benchmark is only measured on my computer, so it's a bit less objective.
In such reason, I hope measure benchmark of typescript-json
on multiple devices as a lot as possible. Especially, I'm curious about the benchmark results on CPUs other than AMD such as Intel or Apple M1/2. On AMD CPU (5800H) benchmark, typescript-json
is 8,000x times faster than class-validator
, but how about other CPUs?
If you can help me the typescript-json
benchmark, pleaese fork, clone and run below commands. After running the benchmark program, a new directory would be created under typescript-json/benchmark/results following your CPU name. Check the newly generated markdown file and send PR with your new commit.
Whe you're running benchmark on notebook, please process the benchmark program on the charging state. Also, all the benchmarked CPUs are listed up into here: typescript-json/benchmark/results. It's not forbidden to sending duplicated CPU benchmark PR, such duplicated CPU benchmark would be accepted only when the new benchmark performance is better than previous.
- Fork
- Clone
npm install
npm run benchmark
- Send PR
git clone https://github.com/user-github-account/typescript-jsoncd typescript-jsonnpm installnpm run benchmark
For reference, the benchmark takes about 30 minutes.
Below is an example of the benchmark output, measured on AMD R7 5800H.
Thanks for helping me benchmark contribution.
Original Link: https://dev.to/samchon/help-me-benchmark-on-your-device-8000x-faster-typescript-runtime-validator-5c88
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To