Sha256: 3ca4f08327ab9722dfa95eabca7945affef252af75756bbe1f10e3756c6f8c4c
Contents?: true
Size: 247 Bytes
Versions: 1
Compression:
Stored size: 247 Bytes
Contents
require "gvl-tracing" def fib(n) return n if n <= 1 fib(n - 1) + fib(n - 2) end GvlTracing.start("example3.json") other_ractor = Ractor.new { fib(37) } # runs in other ractor fib(37) # runs in main thread other_ractor.take GvlTracing.stop
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gvl-tracing-0.2.0 | examples/example3.rb |