Skip to content

Commit f36f092

Browse files
actions-usergithub-actions[bot]
authored andcommitted
chore(unix-time.js): update benchmark results
1 parent d0d01c0 commit f36f092

26 files changed

+382
-30
lines changed

RESULTS-v18.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -736,3 +736,21 @@ new Array(length)|100,000,000|4,637.439ms
736736

737737
<!--
738738
{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":15.245216369628906},"benchmarks":[{"name":"Using super","opsSec":176168981.77485958,"samples":6},{"name":"Using this","opsSec":182128778.22839272,"samples":6}]}-->
739+
740+
## Getting unix time
741+
742+
|name|ops/sec|samples|
743+
|-|-|-|
744+
|new Date().getTime()|12,629,860|93|
745+
|Date.now()|21,639,142|97|
746+
747+
748+
<details>
749+
<summary>Environment</summary>
750+
751+
* __Machine:__ linux x64 | 4 vCPUs | 15.2GB Mem
752+
* __Run:__ Sat May 04 2024 02:02:03 GMT+0000 (Coordinated Universal Time)
753+
</details>
754+
755+
<!--
756+
{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":15.245216369628906},"benchmarks":[{"name":"new Date().getTime()","opsSec":12629860.447526755,"samples":6},{"name":"Date.now()","opsSec":21639142.049575195,"samples":5}]}-->

RESULTS-v20.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -736,3 +736,21 @@ new Array(length)|100,000,000|4,209.487ms
736736

737737
<!--
738738
{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":15.245216369628906},"benchmarks":[{"name":"Using super","opsSec":983307685.8834267,"samples":6},{"name":"Using this","opsSec":935269537.1716014,"samples":8}]}-->
739+
740+
## Getting unix time
741+
742+
|name|ops/sec|samples|
743+
|-|-|-|
744+
|new Date().getTime()|13,025,256|93|
745+
|Date.now()|23,662,881|100|
746+
747+
748+
<details>
749+
<summary>Environment</summary>
750+
751+
* __Machine:__ linux x64 | 4 vCPUs | 15.2GB Mem
752+
* __Run:__ Sat May 04 2024 02:04:29 GMT+0000 (Coordinated Universal Time)
753+
</details>
754+
755+
<!--
756+
{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":15.245216369628906},"benchmarks":[{"name":"new Date().getTime()","opsSec":13025255.835432867,"samples":5},{"name":"Date.now()","opsSec":23662880.53974879,"samples":9}]}-->

RESULTS-v21.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -736,3 +736,21 @@ new Array(length)|100,000,000|4,869.362ms
736736

737737
<!--
738738
{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":15.245216369628906},"benchmarks":[{"name":"Using super","opsSec":905099680.9507413,"samples":7},{"name":"Using this","opsSec":908052205.5487227,"samples":7}]}-->
739+
740+
## Getting unix time
741+
742+
|name|ops/sec|samples|
743+
|-|-|-|
744+
|new Date().getTime()|13,199,273|96|
745+
|Date.now()|23,916,400|94|
746+
747+
748+
<details>
749+
<summary>Environment</summary>
750+
751+
* __Machine:__ linux x64 | 4 vCPUs | 15.2GB Mem
752+
* __Run:__ Sat May 04 2024 02:05:55 GMT+0000 (Coordinated Universal Time)
753+
</details>
754+
755+
<!--
756+
{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":15.245216369628906},"benchmarks":[{"name":"new Date().getTime()","opsSec":13199273.461413635,"samples":5},{"name":"Date.now()","opsSec":23916399.609315395,"samples":5}]}-->

RESULTS-v22.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -736,3 +736,21 @@ new Array(length)|100,000,000|4,032.636ms
736736

737737
<!--
738738
{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":15.245216369628906},"benchmarks":[{"name":"Using super","opsSec":124454855.60925719,"samples":6},{"name":"Using this","opsSec":140842192.92488173,"samples":6}]}-->
739+
740+
## Getting unix time
741+
742+
|name|ops/sec|samples|
743+
|-|-|-|
744+
|new Date().getTime()|12,275,750|93|
745+
|Date.now()|22,010,492|95|
746+
747+
748+
<details>
749+
<summary>Environment</summary>
750+
751+
* __Machine:__ linux x64 | 4 vCPUs | 15.2GB Mem
752+
* __Run:__ Sat May 04 2024 02:06:53 GMT+0000 (Coordinated Universal Time)
753+
</details>
754+
755+
<!--
756+
{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":15.245216369628906},"benchmarks":[{"name":"new Date().getTime()","opsSec":12275750.41978907,"samples":6},{"name":"Date.now()","opsSec":22010491.92258819,"samples":5}]}-->

v18/RESULTS-v18_0_0.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -759,16 +759,16 @@ new Array(length)|100,000,000|4,625.693ms
759759

760760
|name|ops/sec|samples|
761761
|-|-|-|
762-
|new Date().getTime()|11,221,400|94|
763-
|Date.now()|19,459,753|93|
762+
|new Date().getTime()|12,547,081|91|
763+
|Date.now()|21,453,451|97|
764764

765765

766766
<details>
767767
<summary>Environment</summary>
768768

769-
* __Machine:__ linux x64 | 4 vCPUs | 15.6GB Mem
770-
* __Run:__ Tue Mar 12 2024 19:31:39 GMT+0000 (Coordinated Universal Time)
769+
* __Machine:__ linux x64 | 4 vCPUs | 15.2GB Mem
770+
* __Run:__ Sat May 04 2024 02:02:34 GMT+0000 (Coordinated Universal Time)
771771
</details>
772772

773773
<!--
774-
{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":15.606491088867188},"benchmarks":[{"name":"new Date().getTime()","opsSec":11221400.470779033,"samples":7},{"name":"Date.now()","opsSec":19459753.153565325,"samples":5}]}-->
774+
{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":15.245216369628906},"benchmarks":[{"name":"new Date().getTime()","opsSec":12547080.907604808,"samples":5},{"name":"Date.now()","opsSec":21453450.99359228,"samples":6}]}-->

v18/RESULTS-v18_20_1.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -736,3 +736,21 @@ new Array(length)|100,000,000|4,647.079ms
736736

737737
<!--
738738
{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":15.245216369628906},"benchmarks":[{"name":"Using super","opsSec":176202172.14171046,"samples":7},{"name":"Using this","opsSec":182091953.2044802,"samples":6}]}-->
739+
740+
## Getting unix time
741+
742+
|name|ops/sec|samples|
743+
|-|-|-|
744+
|new Date().getTime()|12,584,193|95|
745+
|Date.now()|21,618,318|97|
746+
747+
748+
<details>
749+
<summary>Environment</summary>
750+
751+
* __Machine:__ linux x64 | 4 vCPUs | 15.2GB Mem
752+
* __Run:__ Sat May 04 2024 02:03:03 GMT+0000 (Coordinated Universal Time)
753+
</details>
754+
755+
<!--
756+
{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":15.245216369628906},"benchmarks":[{"name":"new Date().getTime()","opsSec":12584193.181992536,"samples":4},{"name":"Date.now()","opsSec":21618318.45171359,"samples":6}]}-->

v18/RESULTS-v18_20_2.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -736,3 +736,21 @@ new Array(length)|100,000,000|4,637.439ms
736736

737737
<!--
738738
{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":15.245216369628906},"benchmarks":[{"name":"Using super","opsSec":176168981.77485958,"samples":6},{"name":"Using this","opsSec":182128778.22839272,"samples":6}]}-->
739+
740+
## Getting unix time
741+
742+
|name|ops/sec|samples|
743+
|-|-|-|
744+
|new Date().getTime()|12,629,860|93|
745+
|Date.now()|21,639,142|97|
746+
747+
748+
<details>
749+
<summary>Environment</summary>
750+
751+
* __Machine:__ linux x64 | 4 vCPUs | 15.2GB Mem
752+
* __Run:__ Sat May 04 2024 02:02:03 GMT+0000 (Coordinated Universal Time)
753+
</details>
754+
755+
<!--
756+
{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":15.245216369628906},"benchmarks":[{"name":"new Date().getTime()","opsSec":12629860.447526755,"samples":6},{"name":"Date.now()","opsSec":21639142.049575195,"samples":5}]}-->

v18/v18_0_0/unix-time.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
|name|ops/sec|samples|
44
|-|-|-|
5-
|new Date().getTime()|11,221,400|94|
6-
|Date.now()|19,459,753|93|
5+
|new Date().getTime()|12,547,081|91|
6+
|Date.now()|21,453,451|97|
77

88

99
<details>
1010
<summary>Environment</summary>
1111

12-
* __Machine:__ linux x64 | 4 vCPUs | 15.6GB Mem
13-
* __Run:__ Tue Mar 12 2024 19:31:39 GMT+0000 (Coordinated Universal Time)
12+
* __Machine:__ linux x64 | 4 vCPUs | 15.2GB Mem
13+
* __Run:__ Sat May 04 2024 02:02:34 GMT+0000 (Coordinated Universal Time)
1414
</details>
1515

1616
<!--
17-
{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":15.606491088867188},"benchmarks":[{"name":"new Date().getTime()","opsSec":11221400.470779033,"samples":7},{"name":"Date.now()","opsSec":19459753.153565325,"samples":5}]}-->
17+
{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":15.245216369628906},"benchmarks":[{"name":"new Date().getTime()","opsSec":12547080.907604808,"samples":5},{"name":"Date.now()","opsSec":21453450.99359228,"samples":6}]}-->

v18/v18_20_1/unix-time.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
## Getting unix time
2+
3+
|name|ops/sec|samples|
4+
|-|-|-|
5+
|new Date().getTime()|12,584,193|95|
6+
|Date.now()|21,618,318|97|
7+
8+
9+
<details>
10+
<summary>Environment</summary>
11+
12+
* __Machine:__ linux x64 | 4 vCPUs | 15.2GB Mem
13+
* __Run:__ Sat May 04 2024 02:03:03 GMT+0000 (Coordinated Universal Time)
14+
</details>
15+
16+
<!--
17+
{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":15.245216369628906},"benchmarks":[{"name":"new Date().getTime()","opsSec":12584193.181992536,"samples":4},{"name":"Date.now()","opsSec":21618318.45171359,"samples":6}]}-->

v18/v18_20_2/unix-time.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
## Getting unix time
2+
3+
|name|ops/sec|samples|
4+
|-|-|-|
5+
|new Date().getTime()|12,629,860|93|
6+
|Date.now()|21,639,142|97|
7+
8+
9+
<details>
10+
<summary>Environment</summary>
11+
12+
* __Machine:__ linux x64 | 4 vCPUs | 15.2GB Mem
13+
* __Run:__ Sat May 04 2024 02:02:03 GMT+0000 (Coordinated Universal Time)
14+
</details>
15+
16+
<!--
17+
{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":15.245216369628906},"benchmarks":[{"name":"new Date().getTime()","opsSec":12629860.447526755,"samples":6},{"name":"Date.now()","opsSec":21639142.049575195,"samples":5}]}-->

0 commit comments

Comments
 (0)