Skip to content

Instantly share code, notes, and snippets.

@gettalong
gettalong / links.rb
Created August 1, 2021 07:17
PDF link modifier script
@gettalong
gettalong / Result
Created March 12, 2025 22:21
Parsing into AST a file with kramdown vs versadok
Without YJIT on Ruby 3.4.1
Warming up --------------------------------------
kramdown 259.422 i/s - 270.000 times in 1.040775s (3.85ms/i)
versadok 1.158k i/s - 1.265k times in 1.091970s (863.22μs/i)
Calculating -------------------------------------
kramdown 276.681 i/s - 778.000 times in 2.811901s (3.61ms/i)
versadok 1.138k i/s - 3.475k times in 3.052762s (878.49μs/i)
Comparison: