On 2013.07.06 22:21:44 +0200, Björn Steinbrink wrote:
> The problem is that in 0.7 almost all #[inline(always)] attributes got
> replaced by just #[inline]. In your code, this causes the write and
> result function for hashing not to be inlined.

Well, those two among others. Here's the top 5 functions in the 0.6
version:

+  79,68%  _rust_main
+   2,38%  _IO_getc
+   1,92%  _int_free
+   1,81%  malloc_consolidate
+   1,78%  upcall_call_shim_on_c_stack

And here are the top 10 for the version build with a current master:

+  27,66%  hash::__extensions__::meth_5785::write::_39f61d6e4ccc62a4::_0$x2e0
+  19,28%  
hashmap::__extensions__::bucket_for_key_with_hash_5640::_71e677e13b9b19f::_0$x2e0
+  11,78%  search::anon::anon::anon::expr_fn_6073
+  10,12%  hashmap::__extensions__::find_6075::_c9df72152b93395c::_0$x2e0
+   8,29%  search::anon::expr_fn_6013
+   6,27%  
hash::__extensions__::meth_5787::result_u64::_b414c78da63930e3::_0$x2e0
+   5,38%  uint::iterate::_8a579f422041c65::_0$x2e7
+   1,46%  _int_free
+   1,30%  _IO_getc
+   1,19%  malloc_consolidate


Both runs were made with RUST_MIN_STACK=8000000.

Björn
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to