Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mitata

Package Overview
Dependencies
Maintainers
0
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mitata - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json

@@ -5,3 +5,3 @@ {

"license": "MIT",
"version": "1.0.0",
"version": "1.0.1",
"main": "src/main.mjs",

@@ -8,0 +8,0 @@ "files": ["src", "license", "readme.md"],

@@ -89,2 +89,13 @@ <h1 align=center>mitata</h1>

-------------------------------------- -------------------------------
1 + 1 319.04 ps/iter ▁▁▁▁▁▁▁▁▁▁▇▁▁▁▁█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ !
(267.92 ps … 15.78 ns) 325.37 ps 382.81 ps 459.56 ps
Date.now() 27.59 ns/iter ▁▁▂█▄▂▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ ▁
(27.17 ns … 34.10 ns) 27.55 ns 29.68 ns 32.34 ns <
┌ ┐
1 + 1 ┤■ 319.04 ps
Date.now() ┤■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 27.59 ns
└ ┘
-------------------------------------- -------------------------------
Bubble Sort 2.13 ms/iter ▂▄▅█▄▃▂▂▁▂▃▄▂▂▂▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ ▁

@@ -109,2 +120,19 @@ (1.79 ms … 7.54 ms) 2.29 ms 5.47 ms 7.54 ms <

92.29 µs 2.78 ms 5.47 ms
-------------------------------------- -------------------------------
new Array(1) 3.56 ns/iter 3.18 ns 6.70 ns 163.70 ns ▁▇▂▁▁▁▁▁▁
new Array(8) 5.18 ns/iter 4.37 ns 8.92 ns 182.83 ns ▁▅█▁▁▁▁▁▁
new Array(64) 17.99 ns/iter 13.81 ns 160.50 ns 230.60 ns █▂▁▁▁▁▁▁▁
new Array(512) 207.45 ns/iter 265.53 ns 623.54 ns 1.38 µs █▄▃▃▁▁▁▁▁
new Array(1024) 344.15 ns/iter 438.99 ns 528.57 ns 952.57 ns █▃▁▁▁▄▅▂▁
Array.from(1) 29.78 ns/iter 29.22 ns 38.05 ns 202.32 ns ▁█▂▁▁▁▁▁▁
Array.from(8) 34.10 ns/iter 33.57 ns 43.35 ns 230.79 ns ▂█▂▁▁▁▁▁▁
Array.from(64) 145.14 ns/iter 141.49 ns 312.88 ns 354.53 ns ▇▃▁▁▁▁▁▁▁
Array.from(512) 1.11 µs/iter 1.18 µs 1.36 µs 1.38 µs ▁▄▇▂▃▃▂▁▁
Array.from(1024) 1.94 µs/iter 2.02 µs 2.34 µs 2.35 µs ▄▄▄▅█▃▂▁▁
summary
new Array($len)
5.63…8.36x faster than Array.from($len)
```

@@ -111,0 +139,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc