Commit graph

25 commits

Author SHA1 Message Date
gnzlbg de8bcc6932 bump version 2018-07-04 16:43:04 +02:00
Simon Sapin 980f69c5ba Rename no_prefix feature to unprefixed_malloc_on_supported_platforms 2018-06-25 18:59:27 +02:00
Steven Fackler 9a1a1a7353 Fix bg_thread feature
background threads were previously always disabled since cargo upper
cases feature names. jemallocator also enabled default features on
jemalloc-sys.
2018-06-24 21:28:19 +02:00
Steven Fackler 4f01b49922 Add a no_prefix feature
There are some targets that we still force a prefix since they have
issues when their libc malloc is replaced in this way.

Closes #39
2018-06-24 21:27:26 +02:00
Simon Sapin 607de93c67 Support stable Rust, move impl Alloc behind a feature flag 2018-06-13 19:46:20 +02:00
gnzlbg 69ae59c309 bump jemalloc-sys to 0.1.6 and jemallocator to 0.1.8 2018-05-22 17:29:13 +02:00
gnzlbg ed07a3e01f add feature to enable the bg thread (enabled by default) 2018-05-22 16:56:01 +02:00
Simon Sapin 9a56412a58 Upgrade to rustc 1.27.0-nightly (7f3444e1b 2018-04-26) 2018-04-27 13:06:13 +02:00
Alex Crichton 442765d741 Bump dep to 0.1.5 2018-04-15 09:30:53 -07:00
Alex Crichton f4216c950d Bump to 0.1.6 2018-04-15 09:29:39 -07:00
Simon Sapin c66f9d4d51 Implement the GlobalAlloc trait, upgrade to nightly-2018-04-15
CC https://github.com/rust-lang/rust/pull/49669
2018-04-15 08:15:10 +02:00
gnzlbg 56559c7fee Adds benchmarks for nallocx, calloc, alloc, alloc_excess, ralloc, ralloc_excess (#26)
* [bench] nallocx cost

* [jemalloc-sys] detect jemalloc/configure

* [bench] calloc cost

* [bench] alloc/dealloc round-trip

* [bench] alloc_excess when the excess is used/unused

* [jemalloc-sys] detect unsupported targets

* [bench] add test::black_box(ptr) on all benches

* [bench] realloc

* [bench] realloc_excess

* [bench] run benchmarks only on x86_64-unknown-linux-gnu

* move all benchmarks into one file

* remove benchmark build from travis

* remove checks in jemalloc-sys/build.rs for missing configure file

* docs

* fix calloc bench
2017-11-27 10:07:57 -08:00
Simon Sapin 87e5eff7e3 Re-export the jemalloc_sys crate as jemallocator::ffi 2017-10-30 16:19:46 +01:00
Simon Sapin d24b998401 Expose malloc_usable_size in the high-level crate. 2017-10-13 21:37:45 +02:00
Nick Fitzgerald d93f0a803b Bump jemalloc to 0.1.2; jemalloc-sys to 0.1.3
This allows publishing the fixed `debug` feature.
2017-09-29 12:38:43 -07:00
Alex Crichton eb631dd7da Fix building debug jemalloc 2017-09-26 14:06:56 -07:00
Alex Crichton 64e9a326e4 Bump dep on jemalloc-sys 2017-07-07 08:20:42 -07:00
Alex Crichton d5dd228f44 Bump to 0.1.1 2017-07-07 08:19:31 -07:00
Alex Crichton ceae58b585 Update with new global allocator API 2017-06-25 11:10:31 -07:00
Alex Crichton ddd38e9ba9 Fix CI and 32-bit builds
Also expand CI slightly and more targeted versions across Rust channels. Finally
also run `systest` on CI.
2017-05-30 07:32:16 -07:00
Alex Crichton bf6b838128 Add a feature to enable profiling 2016-08-07 00:55:49 -07:00
Alex Crichton c38ddafb84 Update dep on libc 2016-03-07 13:14:40 -08:00
Alex Crichton 14c7579af5 Use crates.io libc instead 2016-01-20 17:19:01 -08:00
Alex Crichton c821f19844 Fill out some more project metadata 2016-01-20 17:06:21 -08:00
Alex Crichton 8e7e43739c Initial commit 2016-01-20 17:03:24 -08:00