<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/yjit.rb, branch v3_3_11</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Backport #9415 to ruby_3_3 (#9424)</title>
<updated>2024-02-04T05:37:33+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2024-02-04T05:37:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a065b68bd8d93505304f90bbb1855c864e17ad61'/>
<id>a065b68bd8d93505304f90bbb1855c864e17ad61</id>
<content type='text'>
YJIT: Let RubyVM::YJIT.enable respect --yjit-stats</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
YJIT: Let RubyVM::YJIT.enable respect --yjit-stats</pre>
</div>
</content>
</entry>
<entry>
<title>YJIT: Add stats option to RubyVM::YJIT.enable (#9297)</title>
<updated>2023-12-19T19:47:27+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2023-12-19T19:47:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=bd91c5127ff30f5a21547e73a493c06fbd6da7ae'/>
<id>bd91c5127ff30f5a21547e73a493c06fbd6da7ae</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>YJIT: fix bug in top cfunc logging in `--yjit-stats` (#9056)</title>
<updated>2023-11-28T22:27:11+00:00</updated>
<author>
<name>Maxime Chevalier-Boisvert</name>
<email>maxime.chevalierboisvert@shopify.com</email>
</author>
<published>2023-11-28T22:27:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ea3e17e430b74b4e58535a707319025e008cc123'/>
<id>ea3e17e430b74b4e58535a707319025e008cc123</id>
<content type='text'>
YJIT: correctly handle case where there are no cfunc calls

Fix bug in top cfunc logging in `--yjit-stats`</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
YJIT: correctly handle case where there are no cfunc calls

Fix bug in top cfunc logging in `--yjit-stats`</pre>
</div>
</content>
</entry>
<entry>
<title>YJIT: add top C function call counts to `--yjit-stats` (#9047)</title>
<updated>2023-11-27T22:49:53+00:00</updated>
<author>
<name>Maxime Chevalier-Boisvert</name>
<email>maxime.chevalierboisvert@shopify.com</email>
</author>
<published>2023-11-27T22:49:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7f50c705742dd92509ae9fc3003eb7561baa7e8a'/>
<id>7f50c705742dd92509ae9fc3003eb7561baa7e8a</id>
<content type='text'>
* YJIT: gather call counts for individual cfuncs

Co-authored by Takashi Kokubun</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* YJIT: gather call counts for individual cfuncs

Co-authored by Takashi Kokubun</pre>
</div>
</content>
</entry>
<entry>
<title>YJIT: record `num_send_cfunc` stat (#9022)</title>
<updated>2023-11-23T20:33:43+00:00</updated>
<author>
<name>Maxime Chevalier-Boisvert</name>
<email>maxime.chevalierboisvert@shopify.com</email>
</author>
<published>2023-11-23T20:33:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f05d586cc99ceed0666459603bfe2aa77a2291ab'/>
<id>f05d586cc99ceed0666459603bfe2aa77a2291ab</id>
<content type='text'>
* YJIT: record num_send_cfunc stat

Also report num_send_known_cfunc as percentage of num_send_cfunc

* Rename num_send_known_cfunc =&gt; num_send_cfunc_inline

Name seems more descriptive of what we do with out custom codegen</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* YJIT: record num_send_cfunc stat

Also report num_send_known_cfunc as percentage of num_send_cfunc

* Rename num_send_known_cfunc =&gt; num_send_cfunc_inline

Name seems more descriptive of what we do with out custom codegen</pre>
</div>
</content>
</entry>
<entry>
<title>[DOC] RubyVM::YJIT doc improvements</title>
<updated>2023-11-11T00:08:13+00:00</updated>
<author>
<name>Alan Wu</name>
<email>alanwu@ruby-lang.org</email>
</author>
<published>2023-11-11T00:08:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=277a3ecbf5c8ba58cea40c50a6d57b2129d22377'/>
<id>277a3ecbf5c8ba58cea40c50a6d57b2129d22377</id>
<content type='text'>
* Weaken notice about API stability. A few public APIs in here now.
* Prune out APIs from the docs that are private in nature
* Enable markdown mode and ensure `--` options are quoted so they are
  rendered as two dashes in the HTML.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Weaken notice about API stability. A few public APIs in here now.
* Prune out APIs from the docs that are private in nature
* Enable markdown mode and ensure `--` options are quoted so they are
  rendered as two dashes in the HTML.
</pre>
</div>
</content>
</entry>
<entry>
<title>YJIT: refactor format_number (#8869)</title>
<updated>2023-11-08T15:37:19+00:00</updated>
<author>
<name>Mau Magnaguagno</name>
<email>maumagnaguagno@gmail.com</email>
</author>
<published>2023-11-08T15:37:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=eb2abc3f16685979ea87861900fb33b3a975589e'/>
<id>eb2abc3f16685979ea87861900fb33b3a975589e</id>
<content type='text'>
Replace enumerators with simpler and faster version that only inserts commas before '.' or end of integer string.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace enumerators with simpler and faster version that only inserts commas before '.' or end of integer string.</pre>
</div>
</content>
</entry>
<entry>
<title>YJIT: Inline basic Ruby methods (#8855)</title>
<updated>2023-11-07T15:54:33+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2023-11-07T15:54:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9877f3ada8019f559dc0f86911ef4bbddddb5677'/>
<id>9877f3ada8019f559dc0f86911ef4bbddddb5677</id>
<content type='text'>
* YJIT: Inline basic Ruby methods

* YJIT: Fix "InsnOut operand made it past register allocation"

checktype should not generate a useless instruction.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* YJIT: Inline basic Ruby methods

* YJIT: Fix "InsnOut operand made it past register allocation"

checktype should not generate a useless instruction.</pre>
</div>
</content>
</entry>
<entry>
<title>YJIT: skip to_a in format_number (#8815)</title>
<updated>2023-11-01T18:40:40+00:00</updated>
<author>
<name>Mau Magnaguagno</name>
<email>maumagnaguagno@gmail.com</email>
</author>
<published>2023-11-01T18:40:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d3ea9070bbbf04749e5fcd8339d71a9e73a86cfb'/>
<id>d3ea9070bbbf04749e5fcd8339d71a9e73a86cfb</id>
<content type='text'>
String#chars returns an array instead of an enumerator since Ruby 2.0.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
String#chars returns an array instead of an enumerator since Ruby 2.0.</pre>
</div>
</content>
</entry>
<entry>
<title>YJIT: Print exit reasons on failure in test_yjit.rb</title>
<updated>2023-10-19T19:14:20+00:00</updated>
<author>
<name>Alan Wu</name>
<email>XrXr@users.noreply.github.com</email>
</author>
<published>2023-10-19T17:41:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9047fe5ea4e8c989c1081aa10f741a413c546534'/>
<id>9047fe5ea4e8c989c1081aa10f741a413c546534</id>
<content type='text'>
For &lt;https://bugs.ruby-lang.org/issues/19921&gt;, I suspect the test is
failing due to a timing related interrupt, which on paper could
happen with slow-enough GC runs.

In any case, it's helpful for debugging to have more information when
tests fail.

Co-authored-by: Takashi Kokubun &lt;takashikkbn@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For &lt;https://bugs.ruby-lang.org/issues/19921&gt;, I suspect the test is
failing due to a timing related interrupt, which on paper could
happen with slow-enough GC runs.

In any case, it's helpful for debugging to have more information when
tests fail.

Co-authored-by: Takashi Kokubun &lt;takashikkbn@gmail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
