Skip to content

Latest commit

 

History

History

benchmarks

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

datadog Benchmarks

Adding a New Benchmark File

  1. Use one of the following prefixes:
  • library_
  • profiling_
  • tracing_
  1. Add the new file to run_all.sh in this directory.

  2. Depending on the prefix, add the new file to the correct validate_benchmarks_spec.rb as follows:

  • library_ prefix: spec/validate_benchmarks_spec.rb
  • profiling_ prefix: ./spec/datadog/profiling/validate_benchmarks_spec.rb
  • tracing_ prefix: ./spec/datadog/tracing/validate_benchmarks_spec.rb

Adding Benchmarks For a New Product

  1. Create a validate_benchmarks_spec.rb test in the product subdirectory, using the existing files as a template.

  2. Update this README to add the new product in the previous section.