 Tobi LutkeandChris Pak
|
bc60deb671
|
update autoresearch experiment log
|
2026-04-04 17:42:33 -07:00 |
|
 Tobi LutkeandChris Pak
|
17b691ee32
|
Replace @blocks.each with while loop in If render — avoids block proc allocation per render\n\nResult: {"status":"keep","combined_µs":3496,"parse_µs":2356,"render_µs":1140,"allocations":24530}
|
2026-04-04 17:42:33 -07:00 |
|
 Tobi LutkeandChris Pak
|
de95af5414
|
Inline to_liquid_value in If render — avoids one method dispatch per condition evaluation\n\nResult: {"status":"keep","combined_µs":3459,"parse_µs":2318,"render_µs":1141,"allocations":24647}
|
2026-04-04 17:42:33 -07:00 |
|
 Tobi LutkeandChris Pak
|
6faa62697b
|
Replace simple_lookup? byte scan with match? regex — 8x faster per call, cleaner code\n\nResult: {"status":"keep","combined_µs":3489,"parse_µs":2353,"render_µs":1136,"allocations":24647}
|
2026-04-04 17:42:33 -07:00 |
|
 Tobi LutkeandChris Pak
|
f39fad8934
|
Condition#evaluate: skip loop block for simple conditions (no child_relation) — saves 235 allocs\n\nResult: {"status":"keep","combined_µs":3445,"parse_µs":2284,"render_µs":1161,"allocations":24647}
|
2026-04-04 17:42:33 -07:00 |
|
 Tobi LutkeandChris Pak
|
1aa5854f44
|
Clean confirmation run: 3,314µs (-55% from main), stable\n\nResult: {"status":"keep","combined_µs":3314,"parse_µs":2203,"render_µs":1111,"allocations":24882}
|
2026-04-04 17:42:33 -07:00 |
|
 Tobi LutkeandChris Pak
|
111aeed8f1
|
parse_tag_token without StringScanner: pure byte ops avoid reset(token) overhead, -12% combined\n\nResult: {"status":"keep","combined_µs":3350,"parse_µs":2212,"render_µs":1138,"allocations":24882}
|
2026-04-04 17:42:33 -07:00 |
|
 Tobi LutkeandChris Pak
|
9cbfae22b0
|
Clean up tokenizer: remove unused StringScanner setup and regex constants\n\nResult: {"status":"keep","combined_µs":3490,"parse_µs":2331,"render_µs":1159,"allocations":24882}
|
2026-04-04 17:42:33 -07:00 |
|
 Tobi LutkeandChris Pak
|
89076dbf3a
|
Confirmation run: byteindex tokenizer consistently 3,400-3,600µs\n\nResult: {"status":"keep","combined_µs":3464,"parse_µs":2335,"render_µs":1129,"allocations":24882}
|
2026-04-04 17:42:33 -07:00 |
|
 Tobi LutkeandChris Pak
|
f2c0fbfa0b
|
Replace StringScanner tokenizer with String#byteindex — 12% faster parse, no regex overhead for delimiter finding\n\nResult: {"status":"keep","combined_µs":3556,"parse_µs":2388,"render_µs":1168,"allocations":24882}
|
2026-04-04 17:42:33 -07:00 |
|
 Tobi LutkeandChris Pak
|
78550c0e0d
|
Baseline: 3,818µs combined, 24,881 allocs\n\nResult: {"status":"keep","combined_µs":3818,"parse_µs":2722,"render_µs":1096,"allocations":24881}
|
2026-04-04 17:42:33 -07:00 |
|