Update README.MD
[poolifier.git] / normal.js
CommitLineData
a32e02ba 1const start = Date.now()
2const toBench = () => {
3 const iterations = 10000
4
5 for (let i = 0; i <= iterations; i++) {
6 const o = {
7 a: i
8 }
9 JSON.stringify(o)
10 }
11}
12
13for (let i = 0; i < 1000; i++) {
14 toBench()
15}
16console.log('Time take is ' + (Date.now() - start))