Issue #12763 has been updated by Shyouhei Urabe.

Description updated

----------------------------------------
Bug #12763: Performance regression in bm_securerandom.rb
https://bugs.ruby-lang.org/issues/12763#change-60517

* Author: Guo Xiang Tan
* Status: Open
* Priority: Normal
* Assignee: Nobuyoshi Nakada
* ruby -v: ruby 2.4.0dev (2016-05-10 trunk 54968) [x86_64-linux]
* Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
Before https://github.com/ruby/ruby/commit/b402cc7

```
total: 2 trial(s) (2 trial(s) for 1 benchmark(s))
..
-----------------------------------------------------------
benchmark results:
Execution time (sec)
name	ruby 2.4.0dev (2016-05-10 trunk 54967) [x86_64-linux]
Posting results to Web UI....
securerandom	0.069

Log file: bmlog-20160915-094027.12689
total: 2 trial(s) (2 trial(s) for 1 benchmark(s))
securerandom: rss_kb=11104.0
securerandom: rss_kb=10988.0

-----------------------------------------------------------
benchmark results:
Execution time (sec)
name	ruby 2.4.0dev (2016-05-10 trunk 54967) [x86_64-linux]
```

After

```
total: 2 trial(s) (2 trial(s) for 1 benchmark(s))
..
-----------------------------------------------------------
benchmark results:
Execution time (sec)
name	ruby 2.4.0dev (2016-05-10 trunk 54968) [x86_64-linux]
Posting results to Web UI....
securerandom	0.213

Log file: bmlog-20160915-094321.12723
total: 2 trial(s) (2 trial(s) for 1 benchmark(s))
securerandom: rss_kb=11136.0
securerandom: rss_kb=10896.0

-----------------------------------------------------------
benchmark results:
Execution time (sec)
name	ruby 2.4.0dev (2016-05-10 trunk 54968) [x86_64-linux]
```

Do feel free to let me know if you need more information :)



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>