On Thu, 06 Jan 2022 13:12:36 +0100 Martin Vidner <[email protected]> wrote:
> Dne 2022-01-03 16:51, Ladislav Slezák napsal: > > [3] https://www.ruby-lang.org/en/news/2021/12/25/ruby-3-1-0-released/ > > Ruby 3.1 also includes a new just-in-time compiler enabled with > '--yjit'. > > I wondered whether it might be useful for us, and the answer seems to be > a > resounding NO: > > > By default, YJIT allocates an additional 256MiB for generated code. The > additional size allocated can be tuned with a command-line parameter, > but > allocating too little memory will result in YJIT crashing. > > https://speed.yjit.org/benchmarks/bench-2021-10-13-070947 > > Martin Well, I would be still interested in speed comparison (especially installation). If it is reasonable, we can enable yjit when there is enough memory in insts-sys or on system. It can create good impression when users/journalist test installation on their machines with enough memory. Josef
