Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ coverage path="//...":

profile path:
bazel run //src/workerd/tests:bench-{{path}} --config=benchmark --run_under="perf record -F max --call-graph lbr"
PERF_FILE=$(fdfind perf.data bazel-bin | grep "{{path}}" | head -1); \
PERF_FILE=$(fdfind --hidden perf.data bazel-bin | grep "{{path}}" | head -1); \
if [ -n "$PERF_FILE" ] && [ -s "$PERF_FILE" ]; then \
cp $PERF_FILE perf.data; \
perf report --input=$PERF_FILE; \
Expand Down
10 changes: 10 additions & 0 deletions src/workerd/tests/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,15 @@ wd_cc_benchmark(
],
)

wd_cc_benchmark(
name = "bench-vanilla",
srcs = ["bench-vanilla.c++"],
deps = [
":test-fixture",
"//src/workerd/jsg",
],
)

wd_test(
src = "unknown-import-assertions-test.wd-test",
args = ["--experimental"],
Expand Down Expand Up @@ -120,6 +129,7 @@ filegroup(
":bench-mimetype",
":bench-regex",
":bench-util",
":bench-vanilla",
],
visibility = ["//visibility:public"],
)
Loading