mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
benchmark: create napi benchmark directory
Move C++ benchmark useful for NAPI to its own directory. This will isolate the benchmark so it can be excluded from testing that applies to all other benchmarks but not this one. PR-URL: https://github.com/nodejs/node/pull/21046 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
This commit is contained in:
1 parent
29593e20d5
commit
9030e933f4
6 files changed
+6
-6
No files matched your search
@@ -274,13 +274,13 @@ test-valgrind: all
|
||||
test-check-deopts: all
|
||||
$(PYTHON) tools/test.py $(PARALLEL_ARGS) --mode=$(BUILDTYPE_LOWER) --check-deopts parallel sequential
|
||||
|
||||
benchmark/misc/function_call/build/Release/binding.node: all \
|
||||
benchmark/misc/function_call/napi_binding.c \
|
||||
benchmark/misc/function_call/binding.cc \
|
||||
benchmark/misc/function_call/binding.gyp
|
||||
benchmark/napi/function_call/build/Release/binding.node: all \
|
||||
benchmark/napi/function_call/napi_binding.c \
|
||||
benchmark/napi/function_call/binding.cc \
|
||||
benchmark/napi/function_call/binding.gyp
|
||||
$(NODE) deps/npm/node_modules/node-gyp/bin/node-gyp rebuild \
|
||||
--python="$(PYTHON)" \
|
||||
--directory="$(shell pwd)/benchmark/misc/function_call" \
|
||||
--directory="$(shell pwd)/benchmark/napi/function_call" \
|
||||
--nodedir="$(shell pwd)"
|
||||
|
||||
# Implicitly depends on $(NODE_EXE). We don't depend on it explicitly because
|
||||
@@ -1115,7 +1115,7 @@ LINT_CPP_EXCLUDE += $(wildcard test/addons-napi/??_*/*.cc test/addons-napi/??_*/
|
||||
LINT_CPP_EXCLUDE += src/tracing/trace_event.h src/tracing/trace_event_common.h
|
||||
|
||||
LINT_CPP_FILES = $(filter-out $(LINT_CPP_EXCLUDE), $(wildcard \
|
||||
benchmark/misc/function_call/binding.cc \
|
||||
benchmark/napi/function_call/binding.cc \
|
||||
src/*.c \
|
||||
src/*.cc \
|
||||
src/*.h \
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user