autoresearch: add autoresearch.md/sh, increase benchmark warmup to 20 iterations

This commit is contained in:
Tobi Lutke
2026-04-04 17:42:32 -07:00
committed by Chris Pak
parent b994f22983
commit c82b6e58ef
3 changed files with 116 additions and 3 deletions
+3 -3
View File
@@ -9,9 +9,9 @@ RubyVM::YJIT.enable if defined?(RubyVM::YJIT)
runner = ThemeRunner.new
# Warmup
5.times { runner.compile }
5.times { runner.render }
# Warmup — enough iterations for YJIT to fully optimize hot paths
20.times { runner.compile }
20.times { runner.render }
GC.start
GC.compact if GC.respond_to?(:compact)