Skip to content

fix import clauses (remove or move from interface to implementation)#18

Merged
frostney merged 1 commit into
mainfrom
fix-clean-imports
Feb 19, 2026
Merged

fix import clauses (remove or move from interface to implementation)#18
frostney merged 1 commit into
mainfrom
fix-clean-imports

Conversation

@frostney
Copy link
Copy Markdown
Owner

No description provided.

@github-actions
Copy link
Copy Markdown
Contributor

Benchmark Results

134 benchmarks · 134 unchanged · avg +3.1%

arrays.js — 11 unchanged · avg +3.8%
Benchmark Base (ops/sec) PR (ops/sec) Change
Array.from length 100 136,788 144,075 +5.3%
Array.of 10 elements 154,830 157,997 +2.0%
spread into new array 163,526 164,732 +0.7%
map over 50 elements 86,138 90,243 +4.8%
filter over 50 elements 86,018 90,854 +5.6%
reduce sum 50 elements 90,087 94,616 +5.0%
forEach over 50 elements 90,577 95,148 +5.0%
find in 50 elements 95,061 99,817 +5.0%
sort 20 elements 3,902 4,010 +2.8%
flat nested array 77,370 79,529 +2.8%
flatMap 38,081 39,223 +3.0%
classes.js — 10 unchanged · avg +3.4%
Benchmark Base (ops/sec) PR (ops/sec) Change
simple class new 69,992 72,924 +4.2%
class with defaults 52,989 54,937 +3.7%
50 instances via Array.from 75,667 78,939 +4.3%
instance method call 32,466 33,140 +2.1%
static method call 57,735 59,679 +3.4%
single-level inheritance 27,552 28,432 +3.2%
two-level inheritance 25,710 26,829 +4.4%
private field access 34,222 35,216 +2.9%
private methods 40,230 41,645 +3.5%
getter/setter access 36,653 37,706 +2.9%
closures.js — 11 unchanged · avg +2.6%
Benchmark Base (ops/sec) PR (ops/sec) Change
closure over single variable 54,020 55,879 +3.4%
closure over multiple variables 53,695 54,873 +2.2%
nested closures 59,053 60,976 +3.3%
function as argument 40,923 41,963 +2.5%
function returning function 54,177 55,256 +2.0%
compose two functions 33,294 33,973 +2.0%
fn.call 79,517 82,054 +3.2%
fn.apply 57,838 59,524 +2.9%
fn.bind 68,528 69,302 +1.1%
recursive sum to 50 4,750 4,917 +3.5%
recursive tree traversal 8,253 8,494 +2.9%
collections.js — 12 unchanged · avg +3.6%
Benchmark Base (ops/sec) PR (ops/sec) Change
add 50 elements 79,605 83,034 +4.3%
has lookup (50 elements) 62,727 64,230 +2.4%
delete elements 62,288 64,997 +4.3%
forEach iteration 76,583 79,810 +4.2%
spread to array 82,348 85,513 +3.8%
deduplicate array 53,114 54,086 +1.8%
set 50 entries 78,231 82,047 +4.9%
get lookup (50 entries) 59,662 61,672 +3.4%
has check 66,230 67,965 +2.6%
delete entries 60,463 62,619 +3.6%
forEach iteration 72,212 74,457 +3.1%
keys/values/entries 47,841 50,085 +4.7%
destructuring.js — 14 unchanged · avg +3.3%
Benchmark Base (ops/sec) PR (ops/sec) Change
simple array destructuring 175,253 179,406 +2.4%
with rest element 131,135 133,855 +2.1%
with defaults 176,375 181,331 +2.8%
skip elements 192,932 197,810 +2.5%
nested array destructuring 105,034 109,235 +4.0%
swap variables 204,898 209,554 +2.3%
simple object destructuring 127,993 134,742 +5.3%
with defaults 155,453 161,649 +4.0%
with renaming 150,693 157,396 +4.4%
nested object destructuring 79,190 82,017 +3.6%
rest properties 81,328 83,045 +2.1%
object parameter 48,837 50,341 +3.1%
array parameter 63,272 64,994 +2.7%
mixed destructuring in map 82,844 86,961 +5.0%
fibonacci.js — 3 unchanged · avg +3.0%
Benchmark Base (ops/sec) PR (ops/sec) Change
recursive fib(15) 129 133 +3.1%
recursive fib(20) 12 12 +1.9%
iterative fib(20) via reduce 62,360 64,891 +4.1%
json.js — 11 unchanged · avg +2.9%
Benchmark Base (ops/sec) PR (ops/sec) Change
parse simple object 106,303 109,901 +3.4%
parse nested object 68,381 70,698 +3.4%
parse array of objects 38,694 40,295 +4.1%
parse large flat object 33,460 33,982 +1.6%
parse mixed types 49,504 51,265 +3.6%
stringify simple object 95,973 97,548 +1.6%
stringify nested object 54,989 55,136 +0.3%
stringify array of objects 102,303 107,449 +5.0%
stringify mixed types 45,955 47,254 +2.8%
parse then stringify 33,186 34,245 +3.2%
stringify then parse 43,316 44,513 +2.8%
jsx.jsx — 21 unchanged · avg +4.0%
Benchmark Base (ops/sec) PR (ops/sec) Change
simple element 107,356 110,957 +3.4%
self-closing element 110,313 115,350 +4.6%
element with string attribute 93,255 96,346 +3.3%
element with multiple attributes 80,179 83,765 +4.5%
element with expression attribute 83,350 87,489 +5.0%
text child 106,400 110,460 +3.8%
expression child 101,575 103,597 +2.0%
mixed text and expression 96,757 100,964 +4.3%
nested elements (3 levels) 41,143 43,051 +4.6%
sibling children 30,876 32,007 +3.7%
component element 77,383 81,246 +5.0%
component with children 48,295 50,614 +4.8%
dotted component 65,405 68,592 +4.9%
empty fragment 105,249 108,817 +3.4%
fragment with children 30,687 31,308 +2.0%
spread attributes 58,672 60,699 +3.5%
spread with overrides 50,931 53,127 +4.3%
shorthand props 79,523 82,838 +4.2%
nav bar structure 14,836 15,608 +5.2%
card component tree 17,569 18,029 +2.6%
10 list items via Array.from 133,425 139,858 +4.8%
numbers.js — 11 unchanged · avg +1.4%
Benchmark Base (ops/sec) PR (ops/sec) Change
integer arithmetic 170,491 173,034 +1.5%
floating point arithmetic 189,582 192,555 +1.6%
number coercion 99,573 101,002 +1.4%
toFixed 70,152 70,616 +0.7%
toString 95,428 96,580 +1.2%
valueOf 126,555 130,408 +3.0%
toPrecision 90,371 91,338 +1.1%
Number.isNaN 148,203 149,367 +0.8%
Number.isFinite 142,676 144,184 +1.1%
Number.isInteger 146,725 148,884 +1.5%
Number.parseInt and parseFloat 133,185 136,021 +2.1%
objects.js — 7 unchanged · avg +3.5%
Benchmark Base (ops/sec) PR (ops/sec) Change
create simple object 213,227 223,805 +5.0%
create nested object 113,078 119,320 +5.5%
create 50 objects via Array.from 133,932 138,168 +3.2%
property read 96,109 98,983 +3.0%
Object.keys 68,258 70,637 +3.5%
Object.entries 45,713 45,867 +0.3%
spread operator 87,094 90,740 +4.2%
promises.js — 12 unchanged · avg +2.0%
Benchmark Base (ops/sec) PR (ops/sec) Change
Promise.resolve(value) 289,630 300,514 +3.8%
new Promise(resolve => resolve(value)) 112,146 116,201 +3.6%
Promise.reject(reason) 300,313 312,055 +3.9%
resolve + then (1 handler) 97,408 100,321 +3.0%
resolve + then chain (3 deep) 40,177 39,940 -0.6%
resolve + then chain (10 deep) 13,175 13,402 +1.7%
reject + catch + then 60,219 61,022 +1.3%
resolve + finally + then 53,802 54,086 +0.5%
Promise.all (5 resolved) 21,530 21,879 +1.6%
Promise.race (5 resolved) 22,526 22,755 +1.0%
Promise.allSettled (5 mixed) 17,460 17,945 +2.8%
Promise.any (5 mixed) 21,691 22,108 +1.9%
strings.js — 11 unchanged · avg +2.7%
Benchmark Base (ops/sec) PR (ops/sec) Change
string concatenation 236,282 251,001 +6.2%
template literal 239,052 244,364 +2.2%
string repeat 226,073 233,566 +3.3%
split and join 96,739 99,757 +3.1%
indexOf and includes 102,869 104,476 +1.6%
toUpperCase and toLowerCase 147,129 150,295 +2.2%
slice and substring 92,172 93,591 +1.5%
trim operations 109,441 112,273 +2.6%
replace and replaceAll 128,660 132,097 +2.7%
startsWith and endsWith 82,358 84,049 +2.1%
padStart and padEnd 118,843 121,053 +1.9%

Measured on ubuntu-latest x64. Changes within ±7% are considered insignificant.

@frostney frostney merged commit a27a208 into main Feb 19, 2026
3 checks passed
@frostney frostney deleted the fix-clean-imports branch February 19, 2026 20:23
@frostney frostney added the internal Refactoring, CI, tooling, cleanup label Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal Refactoring, CI, tooling, cleanup

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant