[ruby-core:88693] [Ruby trunk Bug#14920] Backport r63857 to fix performance problem on Time class in MacOs systems

From: rafaelmfranca@...
Date: 2018-08-27 16:07:49 UTC
List: ruby-core #88693
Issue #14920 has been updated by rafaelfranca (Rafael Fran巽a).


Hi @usa.

63994 alone doesn't fix the issue. I just cloned  ruby_2_4 with r64560 and run the same benchmark script and got the same result. Only r63857 fix the issue. Can you backport r63857 too?

```
"Main Process:   0.100000   0.000000   0.100000 (  0.107107)\n"
"Fork Process:   9.220000   8.180000  17.400000 ( 17.605742)\n"
```

----------------------------------------
Bug #14920: Backport r63857 to fix performance problem on Time class in MacOs systems
https://bugs.ruby-lang.org/issues/14920#change-73753

* Author: rafaelfranca (Rafael Fran巽a)
* Status: Closed
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 
* Backport: 2.3: REQUIRED, 2.4: DONE, 2.5: REQUIRED
----------------------------------------
Related to https://bugs.ruby-lang.org/issues/14435.

Both 2.4 and 2.5 are affected by this issue. Naruse-san commit fix it by not calling tzset() more than once when we know the year doesn't have leap seconds. 





-- 
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>

In This Thread

Prev Next