Skip to content

Commit 1999afa

Browse files
committed
Reformat comments based on JSDoc and update description
1 parent c0f01a6 commit 1999afa

File tree

2 files changed

+27
-8
lines changed

2 files changed

+27
-8
lines changed

tools/make/lib/benchmark/Makefile

Lines changed: 26 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,38 @@ include $(TOOLS_MAKE_LIB_DIR)/benchmark/r.mk
1212

1313
# TARGETS #
1414

15-
# Run benchmarks.
15+
#/
16+
# Runs benchmarks.
1617
#
17-
# This target runs benchmarks.
18-
18+
# @param {string} [BENCHMARKS_FILTER] - file path pattern (e.g., `.*/blas/base/dasum/.*`)
19+
#
20+
# @example
21+
# make benchmark
22+
#
23+
# @example
24+
# make benchmark BENCHMARKS_FILTER=.*/blas/base/dasum/.*
25+
#/
1926
benchmark: benchmark-javascript
2027

2128
.PHONY: benchmark
2229

23-
24-
# Run cross-language benchmarks.
30+
#/
31+
# Runs cross-language benchmarks.
2532
#
26-
# This target runs cross-language benchmarks.
27-
33+
# ## Notes
34+
#
35+
# - This recipe supports the environment variables supported by each language-specific (`benchmark-<lang>`) prerequisite.
36+
# - This recipe is useful when wanting to glob for benchmark files, irrespective of language, for a particular package in order to compare cross-language performance.
37+
#
38+
#
39+
# @param {string} [BENCHMARKS_FILTER] - file path pattern (e.g., `.*/blas/base/dasum/.*`)
40+
#
41+
# @example
42+
# make benchmark-lang
43+
#
44+
# @example
45+
# make benchmark-lang BENCHMARKS_FILTER=.*/blas/base/dasum/.*
46+
#/
2847
benchmark-lang: benchmark-javascript benchmark-julia benchmark-python benchmark-r benchmark-c benchmark-cpp benchmark-fortran
2948

3049
.PHONY: benchmark-lang

tools/make/lib/benchmark/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Runs cross-language benchmarks.
5151
$ make benchmark-lang
5252
```
5353

54-
The recipe supports the environment variables for each language-specific (`benchmark-<lang>`) recipe documented below.
54+
The recipe supports the environment variables supported by each language-specific (`benchmark-<lang>`) recipe documented below.
5555

5656
This recipe is useful when wanting to glob for benchmark files, irrespective of language, for a particular package in order to compare cross-language performance.
5757

0 commit comments

Comments
 (0)