Skip to content

Commit

Permalink
style: Change option names
Browse files Browse the repository at this point in the history
  • Loading branch information
PROFeNoM committed Jan 5, 2024
1 parent a296173 commit 53e7820
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions benchmark/run_with_native_profiler.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if [ "$1" = "--help" ] || [ "$1" = "-h" ]; then
echo "Options:"
echo " -s, --scenario <scenario> The scenario to run (e.g., benchTelemetryParsing, LaravelBench). Defaults to all scenarios (.)"
echo " -t, --style <style> The style of benchmark to run (base, opcache). Defaults to base"
echo " -n, --n <n> The number of times to run the benchmark. Defaults to 1"
echo " -n, --runs <n> The number of times to run the benchmark. Defaults to 1"
echo " -w, --without-dependencies If set, the dependencies will not be installed."
echo " --split <true|false> Whether to split the results into multiple profiles. Defaults to true. Only applies when all scenarios are run at once."

Expand Down Expand Up @@ -39,7 +39,7 @@ while [[ $# -gt 0 ]]; do
shift # past argument
shift # past value
;;
-n|--n)
-n|--runs)
N="$2"
shift # past argument
shift # past value
Expand Down
2 changes: 1 addition & 1 deletion tests/Benchmarks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Usage: ./run_with_native_profiler.sh [options]
Options:
-s, --scenario <scenario> The scenario to run (e.g., benchTelemetryParsing, LaravelBench). Defaults to all scenarios (.)
-t, --style <style> The style of benchmark to run (base, opcache). Defaults to base
-n, --n <n> The number of times to run the benchmark. Defaults to 1
-n, --runs <n> The number of times to run the benchmark. Defaults to 1
-w, --without-dependencies If set, the dependencies will not be installed.
--split <true|false> Whether to split the results into multiple profiles. Defaults to true. Only applies when all scenarios are run at once.
Example: ./run_with_native_profiler.sh --scenario benchTelemetryParsing --style base -n 5 -w
Expand Down

0 comments on commit 53e7820

Please sign in to comment.