Skip to content

Conversation

@132ikl
Copy link
Member

@132ikl 132ikl commented Jan 2, 2025

Replaces the file read within each test with a simple memory copy. No reason to include the time it takes to read the file in the benchmark. This doesn't have a major impact, but it is just enough to be measurable on my machine (difference of about 2 standard deviations on some of the lex/parse/nu_old tests).

@kubouch
Copy link
Contributor

kubouch commented Jan 8, 2025

Thanks, yeah, the benchmarking code is just something I very quickly threw together.

@kubouch kubouch merged commit bfa8ed6 into nushell:main Jan 8, 2025
4 checks passed
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.

2 participants