Skip to content
Myr

change benchmark to the tinybench (#483)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Pavel Gusev · committed by GitHub · parent 2b18fea · Browse files · 3 files+26 added−36 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+26 added−36 removed

  • tests:+17 added−14 removed
  • other:+9 added−22 removed

3 files+26 added−36 removed

modified:test/benchmark.js+17 added-14 removed
modified:package.json+1 added-1 removed
53 unmodified lines
54 "@originjs/vite-plugin-commonjs": "^1.0.3",55 "@size-limit/file": "^11.1.4",56 "@size-limit/webpack": "^11.1.4",57 "@types/node": "^20.14.6",58 "benchmark": "^2.1.4",58 "better-node-test": "^0.5.1",59 "c8": "^10.1.2",60 "clean-publish": "^5.0.0",61 "eslint": "^9.5.0",
1 unmodified line
63 "secure-random-string": "^1.1.3",64 "shortid": "^2.2.16",65 "size-limit": "^11.1.4",66 "terser": "^5.31.1",67 "tinybench": "^2.8.0",68 "uid": "^2.0.2",69 "uid-safe": "^2.1.5",70 "uuid": "^10.0.0",71 "vite": "^5.3.1"
58 unmodified lines
modified:pnpm-lock.yaml+8 added-21 removed
30 unmodified lines
31 version: 11.1.4(size-limit@11.1.4)32 '@types/node':33 specifier: ^20.14.634 version: 20.14.635 benchmark:36 specifier: ^2.1.437 version: 2.1.435 better-node-test:36 specifier: ^0.5.137 version: 0.5.138 c8:
19 unmodified lines
58 version: 11.1.459 terser:60 specifier: ^5.31.161 version: 5.31.162 tinybench:63 specifier: ^2.8.064 version: 2.8.065 uid:66 specifier: ^2.0.267 version: 2.0.268 uid-safe:
745 unmodified lines
814815 balanced-match@1.0.2:816 resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}817818 benchmark@2.1.4:819 resolution: {integrity: sha512-l9MlfN4M1K/H2fbhfMy3B7vJd6AGKJVQn2h6Sg/Yx+KckoUA7ewS5Vv6TjSq18ooE1kS9hhAlQRH3AkXIh/aOQ==}820818 better-node-test@0.5.1:819 resolution: {integrity: sha512-L5iVFSXrX+hCJ4OItXGzDQ+HMAPUcoXu6Zwnlha7mtkoBu3sRZb4PtkOFJg/mJnIerKfbgRl4f4qDqcDLfM5rA==}820 engines: {node: ^18.19.0 || >=20.0.0}821 hasBin: true
809 unmodified lines
16311632 lodash.merge@4.6.2:1633 resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==}16341638 lodash@4.17.21:1639 resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==}16401635 lru-cache@10.2.2:1636 resolution: {integrity: sha512-9hp3Vp2/hFQUiIwKo8XCeFVnrg8Pk3TYNPIR7tJADKi5YfcF7vEaK7avFHTlSy3kOKYaJQaalfEo6YuXdceBOQ==}1637 engines: {node: 14 || >=16.14}1638
146 unmodified lines
1785 picomatch@2.3.1:1786 resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==}1787 engines: {node: '>=8.6'}17881795 platform@1.3.6:1796 resolution: {integrity: sha512-fnWVljUchTro6RiCFvCXBbNhJc2NijN7oIQxbwsyL0buWJPG85v81ehlHI9fXrJsMNgTofEoWIQeClKpgxFLrg==}17971789 possible-typed-array-names@1.0.0:1790 resolution: {integrity: sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==}1791 engines: {node: '>= 0.4'}1792
225 unmodified lines
20182019 text-table@0.2.0:2020 resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==}20212022 tinybench@2.8.0:2023 resolution: {integrity: sha512-1/eK7zUnIklz4JUUlL+658n58XO2hHLQfSk1Zf2LKieUjxidN16eKFEoDEfjHc3ohofSSqK3X5yO6VGb6iW8Lw==}20242025 to-fast-properties@2.0.0:2026 resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==}2027 engines: {node: '>=4'}2028
902 unmodified lines
2931 possible-typed-array-names: 1.0.029322933 balanced-match@1.0.2: {}29342941 benchmark@2.1.4:2942 dependencies:2943 lodash: 4.17.212944 platform: 1.3.629452935 better-node-test@0.5.1: {}29362937 binary-extensions@2.3.0: {}2938
856 unmodified lines
3795 p-locate: 5.0.037963797 lodash.merge@4.6.2: {}37983810 lodash@4.17.21: {}38113799 lru-cache@10.2.2: {}38003801 lru-cache@5.1.1:3802 dependencies:
125 unmodified lines
3928 picocolors@1.0.1: {}39293930 picomatch@2.3.1: {}39313945 platform@1.3.6: {}39463932 possible-typed-array-names@1.0.0: {}39333934 postcss@8.4.38:3935 dependencies:
239 unmodified lines
4175 minimatch: 9.0.441764177 text-table@0.2.0: {}41784179 tinybench@2.8.0: {}41804181 to-fast-properties@2.0.0: {}41824183 to-regex-range@5.0.1:4184 dependencies:
198 unmodified lines