Skip to content

Commit f0d4217

Browse files
authored
Merge pull request #4623 from DataDog/dubloom/chore/nit-in-benchmarks
chore(benchmarks): make readme and filenames consistent
2 parents 245e4a9 + b366786 commit f0d4217

11 files changed

+19
-17
lines changed

benchmarks/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
- `library_`
88
- `profiling_`
99
- `tracing_`
10+
- `di_`
1011

1112
2. Add the new file to `run_all.sh` in this directory.
1213

@@ -16,6 +17,7 @@
1617
- `library_` prefix: `spec/validate_benchmarks_spec.rb`
1718
- `profiling_` prefix: `./spec/datadog/profiling/validate_benchmarks_spec.rb`
1819
- `tracing_` prefix: `./spec/datadog/tracing/validate_benchmarks_spec.rb`
20+
- `di_` prefix: `./spec/datadog/di/validate_benchmarks_spec.rb`
1921

2022
## Adding Benchmarks For a New Product
2123

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

benchmarks/run_all.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ set -ex
88
for file in \
99
`dirname "$0"`/di_instrument.rb \
1010
`dirname "$0"`/library_gem_loading.rb \
11-
`dirname "$0"`/profiler_allocation.rb \
12-
`dirname "$0"`/profiler_gc.rb \
13-
`dirname "$0"`/profiler_hold_resume_interruptions.rb \
14-
`dirname "$0"`/profiler_http_transport.rb \
15-
`dirname "$0"`/profiler_memory_sample_serialize.rb \
16-
`dirname "$0"`/profiler_sample_loop_v2.rb \
17-
`dirname "$0"`/profiler_sample_serialize.rb \
18-
`dirname "$0"`/profiler_sample_gvl.rb \
11+
`dirname "$0"`/profiling_allocation.rb \
12+
`dirname "$0"`/profiling_gc.rb \
13+
`dirname "$0"`/profiling_hold_resume_interruptions.rb \
14+
`dirname "$0"`/profiling_http_transport.rb \
15+
`dirname "$0"`/profiling_memory_sample_serialize.rb \
16+
`dirname "$0"`/profiling_sample_loop_v2.rb \
17+
`dirname "$0"`/profiling_sample_serialize.rb \
18+
`dirname "$0"`/profiling_sample_gvl.rb \
1919
`dirname "$0"`/tracing_trace.rb;
2020
do
2121
bundle exec ruby "$file"

0 commit comments

Comments
 (0)