Skip to content

Conversation

@zah
Copy link
Member

@zah zah commented Jun 29, 2025

Summary

  • load the ruby recorder gem in examples/selective_tracing.rb
  • switch example to use start/stop recorder control methods

Testing

  • just test
  • ruby examples/selective_tracing.rb

https://chatgpt.com/codex/tasks/task_e_6861c76bbe3483298a889146beb0bf95

Add require 'codetracer_ruby_recorder' after computing the gem base path and switch recorder control calls to start/stop. Example now locates the library via the gem's lib directory and runs successfully once the native extension is built.
@github-actions
Copy link

Benchmark Report
BenchmarkRuby (no tracing)JSONCAPNPJSON (PureRuby)
heavy_work67ms✓ 454ms 78,110,688B823ms 25,149,319B✓ 36,348ms 211,728,983B

@zah zah merged commit 74cf6d2 into main Jun 29, 2025
4 of 5 checks passed
@zah zah deleted the codex/update-selective_tracing.rb-with-codetracer-changes branch June 29, 2025 23:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants