ruby-changes:50434
From: k0kubun <ko1@a...>
Date: Sat, 24 Feb 2018 10:05:25 +0900 (JST)
Subject: [ruby-changes:50434] k0kubun:r62552 (trunk): NEWS: elaborate on JIT for 2.6.0-preview1 [ci skip]
k0kubun 2018-02-24 10:05:20 +0900 (Sat, 24 Feb 2018) New Revision: 62552 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62552 Log: NEWS: elaborate on JIT for 2.6.0-preview1 [ci skip] This information is backported from the draft of 2.6.0-preview1 release note. NEWS for final 2.6.0 release will be different. Modified files: trunk/NEWS Index: NEWS =================================================================== --- NEWS (revision 62551) +++ NEWS (revision 62552) @@ -98,7 +98,13 @@ with all sufficient information, see the https://github.com/ruby/ruby/blob/trunk/NEWS#L98 Ruby 2.5 improves block passing performance. [Feature #14045] Additionally, Ruby 2.6 improves the performance of passed block calling. -* `--jit` option to enable JIT compiler is added. [Feature #14235] [experimental] +* Introduce an initial implementation of JIT (Just-in-time) compiler. [Feature #14235] [experimental] + * `--jit` option is added to enable JIT. `--jit-verbose=1` is good for inspection. See `ruby --help` for others. + * This JIT relies on C compiler used to build Ruby, on runtime. Only gcc and clang are supported for the JIT + for now, and MinGW support has some issues. + * As of 2.6.0-preview1, we're just preparing infrastructure for JIT and very few optimizations are implemented. + So it's not ready for benchmarking Ruby's JIT performance yet. It's known that current JIT enablement makes + Rails application slower for now. * VM generator script renewal; makes the generated VM more optimized. [GH-1779] -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/