Skip to content

Commit

Permalink
build: remove bench-* targets
Browse files Browse the repository at this point in the history
PR-URL: #18150
Fixes: #17053
Reviewed-By: Jon Moss <[email protected]>
Reviewed-By: Evan Lucas <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
  • Loading branch information
joyeecheung authored and evanlucas committed Jan 30, 2018
1 parent 5a95905 commit 1506eb5
Showing 1 changed file with 4 additions and 48 deletions.
52 changes: 4 additions & 48 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1020,57 +1020,13 @@ ifeq ($(XZ), 0)
ssh $(STAGINGSERVER) "touch nodejs/$(DISTTYPEDIR)/$(FULLVERSION)/$(TARNAME)-$(OSTYPE)-$(ARCH).tar.xz.done"
endif

.PHONY: bench-net
bench-net: all
@$(NODE) benchmark/run.js net

bench-crypto: all
@$(NODE) benchmark/run.js crypto

.PHONY: bench-tls
bench-tls: all
@$(NODE) benchmark/run.js tls

.PHONY: bench-http
bench-http: all
@$(NODE) benchmark/run.js http

.PHONY: bench-fs
bench-fs: all
@$(NODE) benchmark/run.js fs

.PHONY: bench-misc
bench-misc: benchmark/misc/function_call/build/Release/binding.node
@$(NODE) benchmark/run.js misc

.PHONY: bench-array
bench-array: all
@$(NODE) benchmark/run.js arrays

.PHONY: bench-buffer
bench-buffer: all
@$(NODE) benchmark/run.js buffers

bench-url: all
@$(NODE) benchmark/run.js url

bench-events: all
@$(NODE) benchmark/run.js events

bench-util: all
@$(NODE) benchmark/run.js util

bench-dgram: all
@$(NODE) benchmark/run.js dgram

.PHONY: bench-all
bench-all: bench bench-misc bench-array bench-buffer bench-url bench-events bench-dgram bench-util
bench-all:
@echo "Please use benchmark/run.js or benchmark/compare.js to run the benchmarks."

.PHONY: bench
bench: bench-net bench-http bench-fs bench-tls

.PHONY: bench-ci
bench-ci: bench
bench:
@echo "Please use benchmark/run.js or benchmark/compare.js to run the benchmarks."

.PHONY: lint-md-clean
lint-md-clean:
Expand Down

0 comments on commit 1506eb5

Please sign in to comment.