Skip to content

Commit

Permalink
Fix profiler_submission benchmark to work with new Flush object
Browse files Browse the repository at this point in the history
The benchmark was broken by the addition of a `code_provenance` field
to the flush object, which is not relevant to this benchmark.

I did a bit of magic in a REPL to update the marshalled data to not
break the benchmark.
  • Loading branch information
ivoanjo committed Dec 16, 2021
1 parent 1a18d71 commit fbf98bd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
Binary file modified benchmarks/data/profiler-submission-marshal.gz
Binary file not shown.
1 change: 1 addition & 0 deletions benchmarks/profiler_submission.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
require 'benchmark/ips'
require 'ddtrace'
require 'pry'
require 'digest'
require_relative 'dogstatsd_reporter'

# This benchmark measures the performance of encoding pprofs and trying to submit them
Expand Down

0 comments on commit fbf98bd

Please sign in to comment.