From 618560e7143ffb055954147e80dcd177b4154974 Mon Sep 17 00:00:00 2001 From: Github Actions Date: Thu, 26 Sep 2024 00:33:37 +0000 Subject: [PATCH] chore(unix-time.mjs): update benchmark results --- RESULTS-v18.md | 8 ++++---- RESULTS-v20.md | 8 ++++---- RESULTS-v21.md | 8 ++++---- RESULTS-v22.md | 18 ++++++++++++++++++ v18/RESULTS-v18_0_0.md | 8 ++++---- v18/RESULTS-v18_20_3.md | 8 ++++---- v18/RESULTS-v18_20_4.md | 8 ++++---- v18/v18_0_0/unix-time.md | 8 ++++---- v18/v18_20_3/unix-time.md | 8 ++++---- v18/v18_20_4/unix-time.md | 8 ++++---- v20/RESULTS-v20_0_0.md | 8 ++++---- v20/RESULTS-v20_16_0.md | 8 ++++---- v20/RESULTS-v20_17_0.md | 8 ++++---- v20/v20_0_0/unix-time.md | 8 ++++---- v20/v20_16_0/unix-time.md | 8 ++++---- v20/v20_17_0/unix-time.md | 8 ++++---- v21/RESULTS-v21_0_0.md | 8 ++++---- v21/RESULTS-v21_7_2.md | 8 ++++---- v21/RESULTS-v21_7_3.md | 8 ++++---- v21/v21_0_0/unix-time.md | 8 ++++---- v21/v21_7_2/unix-time.md | 8 ++++---- v21/v21_7_3/unix-time.md | 8 ++++---- v22/RESULTS-v22_0_0.md | 8 ++++---- v22/RESULTS-v22_8_0.md | 18 ++++++++++++++++++ v22/RESULTS-v22_9_0.md | 18 ++++++++++++++++++ v22/v22_0_0/unix-time.md | 8 ++++---- v22/v22_8_0/unix-time.md | 17 +++++++++++++++++ v22/v22_9_0/unix-time.md | 17 +++++++++++++++++ 28 files changed, 180 insertions(+), 92 deletions(-) create mode 100644 v22/v22_8_0/unix-time.md create mode 100644 v22/v22_9_0/unix-time.md diff --git a/RESULTS-v18.md b/RESULTS-v18.md index 8fda64af..d651b282 100644 --- a/RESULTS-v18.md +++ b/RESULTS-v18.md @@ -759,16 +759,16 @@ new Array(length)|100,000,000|4,473.702ms |name|ops/sec|samples| |-|-|-| -|new Date().getTime()|5,665,452|2832727| -|Date.now()|8,190,404|4095204| +|new Date().getTime()|5,719,772|2859887| +|Date.now()|8,612,409|4306205|
Environment * __Machine:__ linux x64 | 4 vCPUs | 7.6GB Mem -* __Run:__ Mon Sep 02 2024 19:41:45 GMT+0000 (Coordinated Universal Time) +* __Run:__ Thu Sep 26 2024 00:27:42 GMT+0000 (Coordinated Universal Time)
+{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597896575927734},"benchmarks":[{"name":"new Date().getTime()","opsSec":5719772.305347074,"samples":2859887},{"name":"Date.now()","opsSec":8612409.670692634,"samples":4306205}]}--> diff --git a/RESULTS-v20.md b/RESULTS-v20.md index 89aea984..1e9cd469 100644 --- a/RESULTS-v20.md +++ b/RESULTS-v20.md @@ -759,16 +759,16 @@ new Array(length)|100,000,000|4,323.708ms |name|ops/sec|samples| |-|-|-| -|new Date().getTime()|6,388,746|3194374| -|Date.now()|9,124,657|4562329| +|new Date().getTime()|6,731,021|3365511| +|Date.now()|9,896,256|4948129|
Environment * __Machine:__ linux x64 | 4 vCPUs | 7.6GB Mem -* __Run:__ Mon Sep 02 2024 19:42:39 GMT+0000 (Coordinated Universal Time) +* __Run:__ Thu Sep 26 2024 00:30:05 GMT+0000 (Coordinated Universal Time)
+{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597896575927734},"benchmarks":[{"name":"new Date().getTime()","opsSec":6731021.676899611,"samples":3365511},{"name":"Date.now()","opsSec":9896256.060376232,"samples":4948129}]}--> diff --git a/RESULTS-v21.md b/RESULTS-v21.md index 07639657..e317551a 100644 --- a/RESULTS-v21.md +++ b/RESULTS-v21.md @@ -759,16 +759,16 @@ new Array(length)|100,000,000|4,646.55ms |name|ops/sec|samples| |-|-|-| -|new Date().getTime()|6,176,110|3088056| -|Date.now()|8,335,937|4167969| +|new Date().getTime()|6,311,584|3155793| +|Date.now()|7,940,276|3970139|
Environment * __Machine:__ linux x64 | 4 vCPUs | 7.6GB Mem -* __Run:__ Mon Sep 02 2024 19:44:31 GMT+0000 (Coordinated Universal Time) +* __Run:__ Thu Sep 26 2024 00:31:33 GMT+0000 (Coordinated Universal Time)
+{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597896575927734},"benchmarks":[{"name":"new Date().getTime()","opsSec":6311584.914408829,"samples":3155793},{"name":"Date.now()","opsSec":7940276.983646397,"samples":3970139}]}--> diff --git a/RESULTS-v22.md b/RESULTS-v22.md index 8913209b..9c9ac09e 100644 --- a/RESULTS-v22.md +++ b/RESULTS-v22.md @@ -715,3 +715,21 @@ new Array(length)|100,000,000|4,868.68ms + +## Getting unix time + +|name|ops/sec|samples| +|-|-|-| +|new Date().getTime()|6,261,779|3130890| +|Date.now()|8,982,265|4491133| + + +
+Environment + +* __Machine:__ linux x64 | 4 vCPUs | 7.6GB Mem +* __Run:__ Thu Sep 26 2024 00:32:55 GMT+0000 (Coordinated Universal Time) +
+ + diff --git a/v18/RESULTS-v18_0_0.md b/v18/RESULTS-v18_0_0.md index 7b84256b..e766766a 100644 --- a/v18/RESULTS-v18_0_0.md +++ b/v18/RESULTS-v18_0_0.md @@ -759,16 +759,16 @@ new Array(length)|100,000,000|4,535.07ms |name|ops/sec|samples| |-|-|-| -|new Date().getTime()|6,421,907|3210954| -|Date.now()|10,021,762|5010882| +|new Date().getTime()|6,110,983|3055492| +|Date.now()|9,434,248|4717125|
Environment * __Machine:__ linux x64 | 4 vCPUs | 7.6GB Mem -* __Run:__ Mon Sep 02 2024 19:40:52 GMT+0000 (Coordinated Universal Time) +* __Run:__ Thu Sep 26 2024 00:28:41 GMT+0000 (Coordinated Universal Time)
+{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597896575927734},"benchmarks":[{"name":"new Date().getTime()","opsSec":6110983.773122131,"samples":3055492},{"name":"Date.now()","opsSec":9434248.374740101,"samples":4717125}]}--> diff --git a/v18/RESULTS-v18_20_3.md b/v18/RESULTS-v18_20_3.md index bb3e6c8d..52467e42 100644 --- a/v18/RESULTS-v18_20_3.md +++ b/v18/RESULTS-v18_20_3.md @@ -759,16 +759,16 @@ new Array(length)|100,000,000|4,491.991ms |name|ops/sec|samples| |-|-|-| -|new Date().getTime()|5,942,044|2971023| -|Date.now()|8,961,998|4481000| +|new Date().getTime()|5,692,812|2846407| +|Date.now()|8,583,583|4291792|
Environment * __Machine:__ linux x64 | 4 vCPUs | 7.6GB Mem -* __Run:__ Mon Sep 02 2024 19:41:19 GMT+0000 (Coordinated Universal Time) +* __Run:__ Thu Sep 26 2024 00:28:10 GMT+0000 (Coordinated Universal Time)
+{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597896575927734},"benchmarks":[{"name":"new Date().getTime()","opsSec":5692812.713348257,"samples":2846407},{"name":"Date.now()","opsSec":8583583.802194351,"samples":4291792}]}--> diff --git a/v18/RESULTS-v18_20_4.md b/v18/RESULTS-v18_20_4.md index 8fda64af..d651b282 100644 --- a/v18/RESULTS-v18_20_4.md +++ b/v18/RESULTS-v18_20_4.md @@ -759,16 +759,16 @@ new Array(length)|100,000,000|4,473.702ms |name|ops/sec|samples| |-|-|-| -|new Date().getTime()|5,665,452|2832727| -|Date.now()|8,190,404|4095204| +|new Date().getTime()|5,719,772|2859887| +|Date.now()|8,612,409|4306205|
Environment * __Machine:__ linux x64 | 4 vCPUs | 7.6GB Mem -* __Run:__ Mon Sep 02 2024 19:41:45 GMT+0000 (Coordinated Universal Time) +* __Run:__ Thu Sep 26 2024 00:27:42 GMT+0000 (Coordinated Universal Time)
+{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597896575927734},"benchmarks":[{"name":"new Date().getTime()","opsSec":5719772.305347074,"samples":2859887},{"name":"Date.now()","opsSec":8612409.670692634,"samples":4306205}]}--> diff --git a/v18/v18_0_0/unix-time.md b/v18/v18_0_0/unix-time.md index 8f6f3a1d..a22a97a2 100644 --- a/v18/v18_0_0/unix-time.md +++ b/v18/v18_0_0/unix-time.md @@ -2,16 +2,16 @@ |name|ops/sec|samples| |-|-|-| -|new Date().getTime()|6,421,907|3210954| -|Date.now()|10,021,762|5010882| +|new Date().getTime()|6,110,983|3055492| +|Date.now()|9,434,248|4717125|
Environment * __Machine:__ linux x64 | 4 vCPUs | 7.6GB Mem -* __Run:__ Mon Sep 02 2024 19:40:52 GMT+0000 (Coordinated Universal Time) +* __Run:__ Thu Sep 26 2024 00:28:41 GMT+0000 (Coordinated Universal Time)
+{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597896575927734},"benchmarks":[{"name":"new Date().getTime()","opsSec":6110983.773122131,"samples":3055492},{"name":"Date.now()","opsSec":9434248.374740101,"samples":4717125}]}--> diff --git a/v18/v18_20_3/unix-time.md b/v18/v18_20_3/unix-time.md index 543b8a8c..92010616 100644 --- a/v18/v18_20_3/unix-time.md +++ b/v18/v18_20_3/unix-time.md @@ -2,16 +2,16 @@ |name|ops/sec|samples| |-|-|-| -|new Date().getTime()|5,942,044|2971023| -|Date.now()|8,961,998|4481000| +|new Date().getTime()|5,692,812|2846407| +|Date.now()|8,583,583|4291792|
Environment * __Machine:__ linux x64 | 4 vCPUs | 7.6GB Mem -* __Run:__ Mon Sep 02 2024 19:41:19 GMT+0000 (Coordinated Universal Time) +* __Run:__ Thu Sep 26 2024 00:28:10 GMT+0000 (Coordinated Universal Time)
+{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597896575927734},"benchmarks":[{"name":"new Date().getTime()","opsSec":5692812.713348257,"samples":2846407},{"name":"Date.now()","opsSec":8583583.802194351,"samples":4291792}]}--> diff --git a/v18/v18_20_4/unix-time.md b/v18/v18_20_4/unix-time.md index 8d3fd868..876671b4 100644 --- a/v18/v18_20_4/unix-time.md +++ b/v18/v18_20_4/unix-time.md @@ -2,16 +2,16 @@ |name|ops/sec|samples| |-|-|-| -|new Date().getTime()|5,665,452|2832727| -|Date.now()|8,190,404|4095204| +|new Date().getTime()|5,719,772|2859887| +|Date.now()|8,612,409|4306205|
Environment * __Machine:__ linux x64 | 4 vCPUs | 7.6GB Mem -* __Run:__ Mon Sep 02 2024 19:41:45 GMT+0000 (Coordinated Universal Time) +* __Run:__ Thu Sep 26 2024 00:27:42 GMT+0000 (Coordinated Universal Time)
+{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597896575927734},"benchmarks":[{"name":"new Date().getTime()","opsSec":5719772.305347074,"samples":2859887},{"name":"Date.now()","opsSec":8612409.670692634,"samples":4306205}]}--> diff --git a/v20/RESULTS-v20_0_0.md b/v20/RESULTS-v20_0_0.md index cb619daa..98a6d6aa 100644 --- a/v20/RESULTS-v20_0_0.md +++ b/v20/RESULTS-v20_0_0.md @@ -759,16 +759,16 @@ new Array(length)|100,000,000|4,156.825ms |name|ops/sec|samples| |-|-|-| -|new Date().getTime()|5,889,055|2944528| -|Date.now()|8,609,062|4304532| +|new Date().getTime()|5,811,266|2905634| +|Date.now()|8,271,662|4135832|
Environment * __Machine:__ linux x64 | 4 vCPUs | 7.6GB Mem -* __Run:__ Mon Sep 02 2024 19:42:12 GMT+0000 (Coordinated Universal Time) +* __Run:__ Thu Sep 26 2024 00:29:37 GMT+0000 (Coordinated Universal Time)
+{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597896575927734},"benchmarks":[{"name":"new Date().getTime()","opsSec":5811266.503038823,"samples":2905634},{"name":"Date.now()","opsSec":8271662.606452086,"samples":4135832}]}--> diff --git a/v20/RESULTS-v20_16_0.md b/v20/RESULTS-v20_16_0.md index 2a9b4779..712994c5 100644 --- a/v20/RESULTS-v20_16_0.md +++ b/v20/RESULTS-v20_16_0.md @@ -759,16 +759,16 @@ new Array(length)|100,000,000|4,250.42ms |name|ops/sec|samples| |-|-|-| -|new Date().getTime()|6,587,802|3293902| -|Date.now()|9,982,064|4991033| +|new Date().getTime()|6,786,080|3393041| +|Date.now()|10,035,729|5017865|
Environment * __Machine:__ linux x64 | 4 vCPUs | 7.6GB Mem -* __Run:__ Mon Sep 02 2024 19:43:06 GMT+0000 (Coordinated Universal Time) +* __Run:__ Thu Sep 26 2024 00:29:09 GMT+0000 (Coordinated Universal Time)
+{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597896575927734},"benchmarks":[{"name":"new Date().getTime()","opsSec":6786080.493481276,"samples":3393041},{"name":"Date.now()","opsSec":10035729.558437023,"samples":5017865}]}--> diff --git a/v20/RESULTS-v20_17_0.md b/v20/RESULTS-v20_17_0.md index 89aea984..1e9cd469 100644 --- a/v20/RESULTS-v20_17_0.md +++ b/v20/RESULTS-v20_17_0.md @@ -759,16 +759,16 @@ new Array(length)|100,000,000|4,323.708ms |name|ops/sec|samples| |-|-|-| -|new Date().getTime()|6,388,746|3194374| -|Date.now()|9,124,657|4562329| +|new Date().getTime()|6,731,021|3365511| +|Date.now()|9,896,256|4948129|
Environment * __Machine:__ linux x64 | 4 vCPUs | 7.6GB Mem -* __Run:__ Mon Sep 02 2024 19:42:39 GMT+0000 (Coordinated Universal Time) +* __Run:__ Thu Sep 26 2024 00:30:05 GMT+0000 (Coordinated Universal Time)
+{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597896575927734},"benchmarks":[{"name":"new Date().getTime()","opsSec":6731021.676899611,"samples":3365511},{"name":"Date.now()","opsSec":9896256.060376232,"samples":4948129}]}--> diff --git a/v20/v20_0_0/unix-time.md b/v20/v20_0_0/unix-time.md index 54936119..cee12d38 100644 --- a/v20/v20_0_0/unix-time.md +++ b/v20/v20_0_0/unix-time.md @@ -2,16 +2,16 @@ |name|ops/sec|samples| |-|-|-| -|new Date().getTime()|5,889,055|2944528| -|Date.now()|8,609,062|4304532| +|new Date().getTime()|5,811,266|2905634| +|Date.now()|8,271,662|4135832|
Environment * __Machine:__ linux x64 | 4 vCPUs | 7.6GB Mem -* __Run:__ Mon Sep 02 2024 19:42:12 GMT+0000 (Coordinated Universal Time) +* __Run:__ Thu Sep 26 2024 00:29:37 GMT+0000 (Coordinated Universal Time)
+{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597896575927734},"benchmarks":[{"name":"new Date().getTime()","opsSec":5811266.503038823,"samples":2905634},{"name":"Date.now()","opsSec":8271662.606452086,"samples":4135832}]}--> diff --git a/v20/v20_16_0/unix-time.md b/v20/v20_16_0/unix-time.md index f84d4e57..6514a7f7 100644 --- a/v20/v20_16_0/unix-time.md +++ b/v20/v20_16_0/unix-time.md @@ -2,16 +2,16 @@ |name|ops/sec|samples| |-|-|-| -|new Date().getTime()|6,587,802|3293902| -|Date.now()|9,982,064|4991033| +|new Date().getTime()|6,786,080|3393041| +|Date.now()|10,035,729|5017865|
Environment * __Machine:__ linux x64 | 4 vCPUs | 7.6GB Mem -* __Run:__ Mon Sep 02 2024 19:43:06 GMT+0000 (Coordinated Universal Time) +* __Run:__ Thu Sep 26 2024 00:29:09 GMT+0000 (Coordinated Universal Time)
+{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597896575927734},"benchmarks":[{"name":"new Date().getTime()","opsSec":6786080.493481276,"samples":3393041},{"name":"Date.now()","opsSec":10035729.558437023,"samples":5017865}]}--> diff --git a/v20/v20_17_0/unix-time.md b/v20/v20_17_0/unix-time.md index f51ef88c..55a6fc57 100644 --- a/v20/v20_17_0/unix-time.md +++ b/v20/v20_17_0/unix-time.md @@ -2,16 +2,16 @@ |name|ops/sec|samples| |-|-|-| -|new Date().getTime()|6,388,746|3194374| -|Date.now()|9,124,657|4562329| +|new Date().getTime()|6,731,021|3365511| +|Date.now()|9,896,256|4948129|
Environment * __Machine:__ linux x64 | 4 vCPUs | 7.6GB Mem -* __Run:__ Mon Sep 02 2024 19:42:39 GMT+0000 (Coordinated Universal Time) +* __Run:__ Thu Sep 26 2024 00:30:05 GMT+0000 (Coordinated Universal Time)
+{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597896575927734},"benchmarks":[{"name":"new Date().getTime()","opsSec":6731021.676899611,"samples":3365511},{"name":"Date.now()","opsSec":9896256.060376232,"samples":4948129}]}--> diff --git a/v21/RESULTS-v21_0_0.md b/v21/RESULTS-v21_0_0.md index 7a4a0cca..416e2150 100644 --- a/v21/RESULTS-v21_0_0.md +++ b/v21/RESULTS-v21_0_0.md @@ -759,16 +759,16 @@ new Array(length)|100,000,000|4,714.528ms |name|ops/sec|samples| |-|-|-| -|new Date().getTime()|6,069,228|3034615| -|Date.now()|8,257,644|4128823| +|new Date().getTime()|5,968,333|2984167| +|Date.now()|9,035,116|4517559|
Environment * __Machine:__ linux x64 | 4 vCPUs | 7.6GB Mem -* __Run:__ Mon Sep 02 2024 19:43:33 GMT+0000 (Coordinated Universal Time) +* __Run:__ Thu Sep 26 2024 00:30:32 GMT+0000 (Coordinated Universal Time)
+{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597896575927734},"benchmarks":[{"name":"new Date().getTime()","opsSec":5968333.408136921,"samples":2984167},{"name":"Date.now()","opsSec":9035116.677358236,"samples":4517559}]}--> diff --git a/v21/RESULTS-v21_7_2.md b/v21/RESULTS-v21_7_2.md index 693a06e9..a697b76e 100644 --- a/v21/RESULTS-v21_7_2.md +++ b/v21/RESULTS-v21_7_2.md @@ -759,16 +759,16 @@ new Array(length)|100,000,000|4,692.212ms |name|ops/sec|samples| |-|-|-| -|new Date().getTime()|6,176,169|3088085| -|Date.now()|8,033,453|4016727| +|new Date().getTime()|6,079,463|3039732| +|Date.now()|8,111,223|4055612|
Environment * __Machine:__ linux x64 | 4 vCPUs | 7.6GB Mem -* __Run:__ Mon Sep 02 2024 19:44:04 GMT+0000 (Coordinated Universal Time) +* __Run:__ Thu Sep 26 2024 00:31:05 GMT+0000 (Coordinated Universal Time)
+{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597896575927734},"benchmarks":[{"name":"new Date().getTime()","opsSec":6079463.452858101,"samples":3039732},{"name":"Date.now()","opsSec":8111223.448442476,"samples":4055612}]}--> diff --git a/v21/RESULTS-v21_7_3.md b/v21/RESULTS-v21_7_3.md index 07639657..e317551a 100644 --- a/v21/RESULTS-v21_7_3.md +++ b/v21/RESULTS-v21_7_3.md @@ -759,16 +759,16 @@ new Array(length)|100,000,000|4,646.55ms |name|ops/sec|samples| |-|-|-| -|new Date().getTime()|6,176,110|3088056| -|Date.now()|8,335,937|4167969| +|new Date().getTime()|6,311,584|3155793| +|Date.now()|7,940,276|3970139|
Environment * __Machine:__ linux x64 | 4 vCPUs | 7.6GB Mem -* __Run:__ Mon Sep 02 2024 19:44:31 GMT+0000 (Coordinated Universal Time) +* __Run:__ Thu Sep 26 2024 00:31:33 GMT+0000 (Coordinated Universal Time)
+{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597896575927734},"benchmarks":[{"name":"new Date().getTime()","opsSec":6311584.914408829,"samples":3155793},{"name":"Date.now()","opsSec":7940276.983646397,"samples":3970139}]}--> diff --git a/v21/v21_0_0/unix-time.md b/v21/v21_0_0/unix-time.md index 839b8c2b..d190d958 100644 --- a/v21/v21_0_0/unix-time.md +++ b/v21/v21_0_0/unix-time.md @@ -2,16 +2,16 @@ |name|ops/sec|samples| |-|-|-| -|new Date().getTime()|6,069,228|3034615| -|Date.now()|8,257,644|4128823| +|new Date().getTime()|5,968,333|2984167| +|Date.now()|9,035,116|4517559|
Environment * __Machine:__ linux x64 | 4 vCPUs | 7.6GB Mem -* __Run:__ Mon Sep 02 2024 19:43:33 GMT+0000 (Coordinated Universal Time) +* __Run:__ Thu Sep 26 2024 00:30:32 GMT+0000 (Coordinated Universal Time)
+{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597896575927734},"benchmarks":[{"name":"new Date().getTime()","opsSec":5968333.408136921,"samples":2984167},{"name":"Date.now()","opsSec":9035116.677358236,"samples":4517559}]}--> diff --git a/v21/v21_7_2/unix-time.md b/v21/v21_7_2/unix-time.md index e0c88a7f..5bfa55fe 100644 --- a/v21/v21_7_2/unix-time.md +++ b/v21/v21_7_2/unix-time.md @@ -2,16 +2,16 @@ |name|ops/sec|samples| |-|-|-| -|new Date().getTime()|6,176,169|3088085| -|Date.now()|8,033,453|4016727| +|new Date().getTime()|6,079,463|3039732| +|Date.now()|8,111,223|4055612|
Environment * __Machine:__ linux x64 | 4 vCPUs | 7.6GB Mem -* __Run:__ Mon Sep 02 2024 19:44:04 GMT+0000 (Coordinated Universal Time) +* __Run:__ Thu Sep 26 2024 00:31:05 GMT+0000 (Coordinated Universal Time)
+{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597896575927734},"benchmarks":[{"name":"new Date().getTime()","opsSec":6079463.452858101,"samples":3039732},{"name":"Date.now()","opsSec":8111223.448442476,"samples":4055612}]}--> diff --git a/v21/v21_7_3/unix-time.md b/v21/v21_7_3/unix-time.md index 91425e68..04fd7014 100644 --- a/v21/v21_7_3/unix-time.md +++ b/v21/v21_7_3/unix-time.md @@ -2,16 +2,16 @@ |name|ops/sec|samples| |-|-|-| -|new Date().getTime()|6,176,110|3088056| -|Date.now()|8,335,937|4167969| +|new Date().getTime()|6,311,584|3155793| +|Date.now()|7,940,276|3970139|
Environment * __Machine:__ linux x64 | 4 vCPUs | 7.6GB Mem -* __Run:__ Mon Sep 02 2024 19:44:31 GMT+0000 (Coordinated Universal Time) +* __Run:__ Thu Sep 26 2024 00:31:33 GMT+0000 (Coordinated Universal Time)
+{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597896575927734},"benchmarks":[{"name":"new Date().getTime()","opsSec":6311584.914408829,"samples":3155793},{"name":"Date.now()","opsSec":7940276.983646397,"samples":3970139}]}--> diff --git a/v22/RESULTS-v22_0_0.md b/v22/RESULTS-v22_0_0.md index 1b3c2ddb..39e90ed6 100644 --- a/v22/RESULTS-v22_0_0.md +++ b/v22/RESULTS-v22_0_0.md @@ -759,16 +759,16 @@ new Array(length)|100,000,000|4,775.388ms |name|ops/sec|samples| |-|-|-| -|new Date().getTime()|5,021,257|2510629| -|Date.now()|8,876,591|4438296| +|new Date().getTime()|5,736,613|2868307| +|Date.now()|8,985,024|4492513|
Environment * __Machine:__ linux x64 | 4 vCPUs | 7.6GB Mem -* __Run:__ Mon Sep 02 2024 19:45:24 GMT+0000 (Coordinated Universal Time) +* __Run:__ Thu Sep 26 2024 00:32:00 GMT+0000 (Coordinated Universal Time)
+{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597896575927734},"benchmarks":[{"name":"new Date().getTime()","opsSec":5736613.426341479,"samples":2868307},{"name":"Date.now()","opsSec":8985024.472554622,"samples":4492513}]}--> diff --git a/v22/RESULTS-v22_8_0.md b/v22/RESULTS-v22_8_0.md index 18a9da90..ac9dfb7d 100644 --- a/v22/RESULTS-v22_8_0.md +++ b/v22/RESULTS-v22_8_0.md @@ -715,3 +715,21 @@ new Array(length)|100,000,000|4,761.87ms + +## Getting unix time + +|name|ops/sec|samples| +|-|-|-| +|new Date().getTime()|6,053,726|3026864| +|Date.now()|8,814,235|4407118| + + +
+Environment + +* __Machine:__ linux x64 | 4 vCPUs | 7.6GB Mem +* __Run:__ Thu Sep 26 2024 00:32:27 GMT+0000 (Coordinated Universal Time) +
+ + diff --git a/v22/RESULTS-v22_9_0.md b/v22/RESULTS-v22_9_0.md index 8913209b..9c9ac09e 100644 --- a/v22/RESULTS-v22_9_0.md +++ b/v22/RESULTS-v22_9_0.md @@ -715,3 +715,21 @@ new Array(length)|100,000,000|4,868.68ms + +## Getting unix time + +|name|ops/sec|samples| +|-|-|-| +|new Date().getTime()|6,261,779|3130890| +|Date.now()|8,982,265|4491133| + + +
+Environment + +* __Machine:__ linux x64 | 4 vCPUs | 7.6GB Mem +* __Run:__ Thu Sep 26 2024 00:32:55 GMT+0000 (Coordinated Universal Time) +
+ + diff --git a/v22/v22_0_0/unix-time.md b/v22/v22_0_0/unix-time.md index e10714c8..1c99871e 100644 --- a/v22/v22_0_0/unix-time.md +++ b/v22/v22_0_0/unix-time.md @@ -2,16 +2,16 @@ |name|ops/sec|samples| |-|-|-| -|new Date().getTime()|5,021,257|2510629| -|Date.now()|8,876,591|4438296| +|new Date().getTime()|5,736,613|2868307| +|Date.now()|8,985,024|4492513|
Environment * __Machine:__ linux x64 | 4 vCPUs | 7.6GB Mem -* __Run:__ Mon Sep 02 2024 19:45:24 GMT+0000 (Coordinated Universal Time) +* __Run:__ Thu Sep 26 2024 00:32:00 GMT+0000 (Coordinated Universal Time)
+{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597896575927734},"benchmarks":[{"name":"new Date().getTime()","opsSec":5736613.426341479,"samples":2868307},{"name":"Date.now()","opsSec":8985024.472554622,"samples":4492513}]}--> diff --git a/v22/v22_8_0/unix-time.md b/v22/v22_8_0/unix-time.md new file mode 100644 index 00000000..be972f5e --- /dev/null +++ b/v22/v22_8_0/unix-time.md @@ -0,0 +1,17 @@ +## Getting unix time + +|name|ops/sec|samples| +|-|-|-| +|new Date().getTime()|6,053,726|3026864| +|Date.now()|8,814,235|4407118| + + +
+Environment + +* __Machine:__ linux x64 | 4 vCPUs | 7.6GB Mem +* __Run:__ Thu Sep 26 2024 00:32:27 GMT+0000 (Coordinated Universal Time) +
+ + diff --git a/v22/v22_9_0/unix-time.md b/v22/v22_9_0/unix-time.md new file mode 100644 index 00000000..82c6f40d --- /dev/null +++ b/v22/v22_9_0/unix-time.md @@ -0,0 +1,17 @@ +## Getting unix time + +|name|ops/sec|samples| +|-|-|-| +|new Date().getTime()|6,261,779|3130890| +|Date.now()|8,982,265|4491133| + + +
+Environment + +* __Machine:__ linux x64 | 4 vCPUs | 7.6GB Mem +* __Run:__ Thu Sep 26 2024 00:32:55 GMT+0000 (Coordinated Universal Time) +
+ +