Skip to content

Commit d7b4482

Browse files
actions-usergithub-actions[bot]
authored andcommitted
chore(unix-time.mjs): update benchmark results
1 parent c01c333 commit d7b4482

29 files changed

+277
-72
lines changed

RESULTS-v18.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -739,17 +739,17 @@ new Array(length)|10,000,000|60.956ms
739739

740740
|name|ops/sec|samples|
741741
|-|-|-|
742-
|new Date().getTime()|9,924,716|4962884|
743-
|Date.now()|19,266,903|9642673|
742+
|new Date().getTime()|8,939,173|4469589|
743+
|Date.now()|16,850,283|8436574|
744744

745745

746746
<details>
747747
<summary>Environment</summary>
748748

749749
* __Machine:__ linux x64 | 4 vCPUs | 7.6GB Mem
750-
* __Run:__ Thu Sep 04 2025 19:54:44 GMT+0000 (Coordinated Universal Time)
750+
* __Run:__ Wed Oct 15 2025 23:13:13 GMT+0000 (Coordinated Universal Time)
751751
* __Node:__ `v18.20.8`
752752
</details>
753753

754754
<!--
755-
{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597843170166016},"benchmarks":[{"name":"new Date().getTime()","samples":4962884,"opsSec":9924716.059495423},{"name":"Date.now()","samples":9642673,"opsSec":19266903.719759446}]}-->
755+
{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597843170166016},"benchmarks":[{"name":"new Date().getTime()","samples":4469589,"opsSec":8939173.423143208},{"name":"Date.now()","samples":8436574,"opsSec":16850283.34502064}]}-->

RESULTS-v20.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -739,17 +739,17 @@ new Array(length)|10,000,000|109.633ms
739739

740740
|name|ops/sec|samples|
741741
|-|-|-|
742-
|new Date().getTime()|10,659,683|5329843|
743-
|Date.now()|20,046,504|10130233|
742+
|new Date().getTime()|10,749,970|5375536|
743+
|Date.now()|20,350,310|10175337|
744744

745745

746746
<details>
747747
<summary>Environment</summary>
748748

749749
* __Machine:__ linux x64 | 4 vCPUs | 7.6GB Mem
750-
* __Run:__ Thu Sep 04 2025 19:56:10 GMT+0000 (Coordinated Universal Time)
750+
* __Run:__ Wed Oct 15 2025 23:13:28 GMT+0000 (Coordinated Universal Time)
751751
* __Node:__ `v20.19.5`
752752
</details>
753753

754754
<!--
755-
{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597843170166016},"benchmarks":[{"name":"new Date().getTime()","samples":5329843,"opsSec":10659683.292440444},{"name":"Date.now()","samples":10130233,"opsSec":20046504.76331399}]}-->
755+
{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597843170166016},"benchmarks":[{"name":"new Date().getTime()","samples":5375536,"opsSec":10749970.128061876},{"name":"Date.now()","samples":10175337,"opsSec":20350310.29925433}]}-->

RESULTS-v22.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,3 +734,22 @@ new Array(length)|10,000,000|67.689ms
734734

735735
<!--
736736
{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597843170166016},"benchmarks":[{"name":"Using super","samples":47613722,"opsSec":95194705.398477},{"name":"Using this","samples":49405515,"opsSec":97845930.3838047}]}-->
737+
738+
## Getting unix time
739+
740+
|name|ops/sec|samples|
741+
|-|-|-|
742+
|new Date().getTime()|10,702,994|5351583|
743+
|Date.now()|19,809,833|9904918|
744+
745+
746+
<details>
747+
<summary>Environment</summary>
748+
749+
* __Machine:__ linux x64 | 4 vCPUs | 7.6GB Mem
750+
* __Run:__ Wed Oct 15 2025 23:14:17 GMT+0000 (Coordinated Universal Time)
751+
* __Node:__ `v22.20.0`
752+
</details>
753+
754+
<!--
755+
{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597843170166016},"benchmarks":[{"name":"new Date().getTime()","samples":5351583,"opsSec":10702994.43099927},{"name":"Date.now()","samples":9904918,"opsSec":19809833.34548233}]}-->

RESULTS-v24.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,3 +734,22 @@ new Array(length)|10,000,000|51.209ms
734734

735735
<!--
736736
{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597843170166016},"benchmarks":[{"name":"Using super","samples":45900221,"opsSec":91800391.87698603},{"name":"Using this","samples":49350393,"opsSec":98700763.29882444}]}-->
737+
738+
## Getting unix time
739+
740+
|name|ops/sec|samples|
741+
|-|-|-|
742+
|new Date().getTime()|12,582,196|6292043|
743+
|Date.now()|20,385,432|10193865|
744+
745+
746+
<details>
747+
<summary>Environment</summary>
748+
749+
* __Machine:__ linux x64 | 4 vCPUs | 7.6GB Mem
750+
* __Run:__ Wed Oct 15 2025 23:15:03 GMT+0000 (Coordinated Universal Time)
751+
* __Node:__ `v24.9.0`
752+
</details>
753+
754+
<!--
755+
{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597843170166016},"benchmarks":[{"name":"new Date().getTime()","samples":6292043,"opsSec":12582196.103816422},{"name":"Date.now()","samples":10193865,"opsSec":20385432.928646736}]}-->

RESULTS-v25.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,3 +734,22 @@ new Array(length)|10,000,000|51.874ms
734734

735735
<!--
736736
{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597843170166016},"benchmarks":[{"name":"Using super","samples":45157923,"opsSec":90315758.21308301},{"name":"Using this","samples":49670467,"opsSec":99235017.88530055}]}-->
737+
738+
## Getting unix time
739+
740+
|name|ops/sec|samples|
741+
|-|-|-|
742+
|new Date().getTime()|9,181,463|4591248|
743+
|Date.now()|19,690,079|9845128|
744+
745+
746+
<details>
747+
<summary>Environment</summary>
748+
749+
* __Machine:__ linux x64 | 4 vCPUs | 7.6GB Mem
750+
* __Run:__ Wed Oct 15 2025 23:14:34 GMT+0000 (Coordinated Universal Time)
751+
* __Node:__ `v25.0.0`
752+
</details>
753+
754+
<!--
755+
{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597843170166016},"benchmarks":[{"name":"new Date().getTime()","samples":4591248,"opsSec":9181463.103763754},{"name":"Date.now()","samples":9845128,"opsSec":19690079.14370913}]}-->

v18/RESULTS-v18_20_7.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -739,17 +739,17 @@ new Array(length)|10,000,000|63.641ms
739739

740740
|name|ops/sec|samples|
741741
|-|-|-|
742-
|new Date().getTime()|9,670,863|4835433|
743-
|Date.now()|19,063,737|9688760|
742+
|new Date().getTime()|9,817,812|4912209|
743+
|Date.now()|19,464,292|9732175|
744744

745745

746746
<details>
747747
<summary>Environment</summary>
748748

749749
* __Machine:__ linux x64 | 4 vCPUs | 7.6GB Mem
750-
* __Run:__ Thu Sep 04 2025 19:55:32 GMT+0000 (Coordinated Universal Time)
750+
* __Run:__ Wed Oct 15 2025 23:14:01 GMT+0000 (Coordinated Universal Time)
751751
* __Node:__ `v18.20.7`
752752
</details>
753753

754754
<!--
755-
{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597843170166016},"benchmarks":[{"name":"new Date().getTime()","samples":4835433,"opsSec":9670863.775701333},{"name":"Date.now()","samples":9688760,"opsSec":19063737.814769458}]}-->
755+
{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597843170166016},"benchmarks":[{"name":"new Date().getTime()","samples":4912209,"opsSec":9817812.909280274},{"name":"Date.now()","samples":9732175,"opsSec":19464292.502479948}]}-->

v18/RESULTS-v18_20_8.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -739,17 +739,17 @@ new Array(length)|10,000,000|60.956ms
739739

740740
|name|ops/sec|samples|
741741
|-|-|-|
742-
|new Date().getTime()|9,924,716|4962884|
743-
|Date.now()|19,266,903|9642673|
742+
|new Date().getTime()|8,939,173|4469589|
743+
|Date.now()|16,850,283|8436574|
744744

745745

746746
<details>
747747
<summary>Environment</summary>
748748

749749
* __Machine:__ linux x64 | 4 vCPUs | 7.6GB Mem
750-
* __Run:__ Thu Sep 04 2025 19:54:44 GMT+0000 (Coordinated Universal Time)
750+
* __Run:__ Wed Oct 15 2025 23:13:13 GMT+0000 (Coordinated Universal Time)
751751
* __Node:__ `v18.20.8`
752752
</details>
753753

754754
<!--
755-
{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597843170166016},"benchmarks":[{"name":"new Date().getTime()","samples":4962884,"opsSec":9924716.059495423},{"name":"Date.now()","samples":9642673,"opsSec":19266903.719759446}]}-->
755+
{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597843170166016},"benchmarks":[{"name":"new Date().getTime()","samples":4469589,"opsSec":8939173.423143208},{"name":"Date.now()","samples":8436574,"opsSec":16850283.34502064}]}-->

v18/v18_20_7/unix-time.md

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

33
|name|ops/sec|samples|
44
|-|-|-|
5-
|new Date().getTime()|9,670,863|4835433|
6-
|Date.now()|19,063,737|9688760|
5+
|new Date().getTime()|9,817,812|4912209|
6+
|Date.now()|19,464,292|9732175|
77

88

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

1212
* __Machine:__ linux x64 | 4 vCPUs | 7.6GB Mem
13-
* __Run:__ Thu Sep 04 2025 19:55:32 GMT+0000 (Coordinated Universal Time)
13+
* __Run:__ Wed Oct 15 2025 23:14:01 GMT+0000 (Coordinated Universal Time)
1414
* __Node:__ `v18.20.7`
1515
</details>
1616

1717
<!--
18-
{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597843170166016},"benchmarks":[{"name":"new Date().getTime()","samples":4835433,"opsSec":9670863.775701333},{"name":"Date.now()","samples":9688760,"opsSec":19063737.814769458}]}-->
18+
{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597843170166016},"benchmarks":[{"name":"new Date().getTime()","samples":4912209,"opsSec":9817812.909280274},{"name":"Date.now()","samples":9732175,"opsSec":19464292.502479948}]}-->

v18/v18_20_8/unix-time.md

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

33
|name|ops/sec|samples|
44
|-|-|-|
5-
|new Date().getTime()|9,924,716|4962884|
6-
|Date.now()|19,266,903|9642673|
5+
|new Date().getTime()|8,939,173|4469589|
6+
|Date.now()|16,850,283|8436574|
77

88

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

1212
* __Machine:__ linux x64 | 4 vCPUs | 7.6GB Mem
13-
* __Run:__ Thu Sep 04 2025 19:54:44 GMT+0000 (Coordinated Universal Time)
13+
* __Run:__ Wed Oct 15 2025 23:13:13 GMT+0000 (Coordinated Universal Time)
1414
* __Node:__ `v18.20.8`
1515
</details>
1616

1717
<!--
18-
{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597843170166016},"benchmarks":[{"name":"new Date().getTime()","samples":4962884,"opsSec":9924716.059495423},{"name":"Date.now()","samples":9642673,"opsSec":19266903.719759446}]}-->
18+
{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597843170166016},"benchmarks":[{"name":"new Date().getTime()","samples":4469589,"opsSec":8939173.423143208},{"name":"Date.now()","samples":8436574,"opsSec":16850283.34502064}]}-->

v20/RESULTS-v20_0_0.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -810,17 +810,17 @@ new Array(length)|10,000,000|68.19ms
810810

811811
|name|ops/sec|samples|
812812
|-|-|-|
813-
|new Date().getTime()|10,861,356|5430680|
814-
|Date.now()|20,122,789|10070716|
813+
|new Date().getTime()|10,707,244|5355298|
814+
|Date.now()|20,569,829|10287538|
815815

816816

817817
<details>
818818
<summary>Environment</summary>
819819

820820
* __Machine:__ linux x64 | 4 vCPUs | 7.6GB Mem
821-
* __Run:__ Thu Sep 04 2025 19:55:51 GMT+0000 (Coordinated Universal Time)
821+
* __Run:__ Wed Oct 15 2025 23:13:46 GMT+0000 (Coordinated Universal Time)
822822
* __Node:__ `v20.0.0`
823823
</details>
824824

825825
<!--
826-
{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597843170166016},"benchmarks":[{"name":"new Date().getTime()","samples":5430680,"opsSec":10861356.024743695},{"name":"Date.now()","samples":10070716,"opsSec":20122789.241906837}]}-->
826+
{"environment":{"platform":"linux","arch":"x64","cpus":4,"totalMemory":7.597843170166016},"benchmarks":[{"name":"new Date().getTime()","samples":5355298,"opsSec":10707244.247089867},{"name":"Date.now()","samples":10287538,"opsSec":20569829.829460632}]}-->

0 commit comments

Comments
 (0)