-
-
Notifications
You must be signed in to change notification settings - Fork 402
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
Added jemallocator only for Linux targets #312
Conversation
Benchmark for aec9f79Click to view benchmark
|
Benchmark for 1a9db43Click to view benchmark
|
Interestingly enough, benchmarks don't seem to be improving that much. Maybe it's not using jemallocator? I will check it in my computer. |
This now builds fine on Windows |
I'm not sure, maybe the triple isn't quite right? |
Should be fixed now. It turns out there is no |
Benchmark for fddf015Click to view benchmark
|
Benchmark for 62c90e0Click to view benchmark
|
I guess that the lexer/parser for hello world show like this because of the build infrastructure, they are consistently better in my machine (at least the lexer). This is ready for a merge, in any case. We should probably add Windows as a testing target, though, so that we can catch these faster. |
I would like to add this. It shouldn't be hard with github actions. |
Sure, let's do it in a different PR :) do you want to work on it? |
Yes. I'm really interested in github Actions. |
This is ready for a merge :) |
I’ll give it another test |
Benchmark for 5c1bdd6Click to view benchmark
|
Benchmark for d6394a6Click to view benchmark
|
I rebased, and it seems that the performance gains are very nice, especially on execution :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks perfect to me! 👍
Cool, let's wait for @jasonwilliams to finish the tests :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
works fine on Windows 10
As per the list of supported targets for jemallocator, it seems that only
x86_64-unknown-linux-gnu
is properly supported with all tests passing. So I added a conditional dependency that will only build in those targets and will only use jemallocator then. This fixes #309.