Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support running DromaeoBenchmark with modern JS syntax #2041

Merged
merged 1 commit into from
Jan 26, 2025

Conversation

lahma
Copy link
Collaborator

@lahma lahma commented Jan 26, 2025

Modern syntax with let and const etc will create extra stress due to lexical scope building requirements.

@lahma
Copy link
Collaborator Author

lahma commented Jan 26, 2025


BenchmarkDotNet v0.14.0, Windows 11 (10.0.26100.2894)
12th Gen Intel Core i9-12900H, 1 CPU, 20 logical and 14 physical cores
.NET SDK 9.0.102
  [Host]     : .NET 8.0.12 (8.0.1224.60305), X64 RyuJIT AVX2
  Job-XAOGDZ : .NET 8.0.12 (8.0.1224.60305), X64 RyuJIT AVX2

InvocationCount=1  UnrollFactor=1  

Method Modern Prepared Mean Error StdDev Gen0 Gen1 Gen2 Allocated
CoreEval False False 4.068 ms 0.1638 ms 0.4455 ms - - - 332.45 KB
CoreEval False True 4.218 ms 0.1067 ms 0.2810 ms - - - 317.23 KB
CoreEval True False 3.256 ms 0.1077 ms 0.2799 ms - - - 331.7 KB
CoreEval True True 3.172 ms 0.1210 ms 0.3167 ms - - - 316.74 KB
Cube False False 16.714 ms 0.3312 ms 0.7677 ms - - - 6250.12 KB
Cube False True 16.146 ms 0.3059 ms 0.4387 ms - - - 5910.48 KB
Cube True False 16.127 ms 0.3179 ms 0.6978 ms - - - 5944.41 KB
Cube True True 16.022 ms 0.3172 ms 0.5638 ms - - - 5606.74 KB
ObjectArray False False 31.216 ms 0.6187 ms 0.7365 ms 7000.0000 - - 96270.18 KB
ObjectArray False True 31.987 ms 0.6282 ms 0.9402 ms 7000.0000 - - 96222.8 KB
ObjectArray True False 36.931 ms 0.7377 ms 0.8496 ms 9000.0000 1000.0000 - 111437.21 KB
ObjectArray True True 36.716 ms 0.7091 ms 0.9706 ms 9000.0000 - - 111391.23 KB
ObjectRegExp False False 132.868 ms 2.3613 ms 4.8234 ms 14000.0000 11000.0000 10000.0000 153215.53 KB
ObjectRegExp False True 105.943 ms 2.7367 ms 7.9832 ms 14000.0000 11000.0000 10000.0000 151153.23 KB
ObjectRegExp True False 164.125 ms 5.8612 ms 17.1898 ms 14000.0000 10000.0000 9000.0000 165805.87 KB
ObjectRegExp True True 132.404 ms 5.7032 ms 16.7265 ms 15000.0000 11000.0000 10000.0000 162341.12 KB
ObjectString False False 269.713 ms 6.6076 ms 18.8519 ms 76000.0000 67000.0000 65000.0000 1315871.17 KB
ObjectString False True 263.740 ms 8.1845 ms 24.1321 ms 76000.0000 66000.0000 65000.0000 1315776.89 KB
ObjectString True False 2,643.371 ms 41.0461 ms 34.2753 ms 1172000.0000 995000.0000 993000.0000 20821965.16 KB
ObjectString True True 2,681.304 ms 46.7419 ms 43.7224 ms 1207000.0000 1030000.0000 1028000.0000 20821155.7 KB
StringBase64 False False 34.178 ms 0.6768 ms 1.2877 ms - - - 2397.97 KB
StringBase64 False True 33.496 ms 0.6048 ms 0.7864 ms - - - 2297.89 KB
StringBase64 True False 39.968 ms 0.7882 ms 1.3805 ms 1000.0000 - - 15113.2 KB
StringBase64 True True 40.720 ms 0.8086 ms 1.3286 ms 1000.0000 - - 15013.62 KB

@lahma lahma merged commit cb4effd into sebastienros:main Jan 26, 2025
3 checks passed
@lahma lahma deleted the modern-dromaeo branch January 26, 2025 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant