Benchmarks and performance enhancements (#209)
[poolifier.git] / benchmarks / versus-external-pools / functions / json-stringify.js
1 module.exports = function (data) {
2 for (let i = 0; i <= 5000; i++) {
3 const o = {
4 a: i
5 }
6 JSON.stringify(o)
7 }
8 // console.log('STRINGIFY FUNCTION FINISHED')
9 return { ok: 1 }
10 }