-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
mozjs52: update to 52.9.0. #2348
Conversation
srcpkgs/mozjs52/template
Outdated
@@ -12,7 +12,7 @@ homepage="http://www.mozilla.org/js/" | |||
license="MPL-1.1, GPL-2, LGPL-2.1" |
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.
please use SPDX short-identifiers
01e3fd4
to
6a734a1
Compare
This also enables jemalloc for glibc builds, since jemalloc's performance is still better than glibc's malloc. Should be tested once icu rebuilding has been done. |
You will need this patch, put it in the patches subdirectory with a .patch prefix.
|
Are there any (real world) benchmarks that support that statement? The performance of memory allocation heavily depends on the workload. And even then I don't see where mozjs52 is used in performance critical packages. Allows jemalloc to be used in conjunction with glibc malloc? What if mozjs52 allocates memory and the application uses the libc's free()? Does this work? |
I can't seem to find benchmarks for spidermonkey with and without jemalloc right now, but other packages do have rather big performance improvements. Also, Mozilla has been using jemalloc by default for years now, so I feel like it's a good idea if we use it as well.
Hm, yeah, once gjs 1.54.0 is in the tree the only packages consuming it seem to be cjs,goffie&polkit. If you don't want to pull in the dep for that that's fine by me |
6a734a1
to
f1a1106
Compare
I think it is better we just not enable jemalloc for now |
f1a1106
to
363096c
Compare
Pushed a fixed version of your commit:
|
No description provided.