;make bench: run quieter, allow overriding BENCHEXES with env var
This commit is contained in:
		
							parent
							
								
									73332c0cbc
								
							
						
					
					
						commit
						5be0255eba
					
				
							
								
								
									
										7
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								Makefile
									
									
									
									
									
								
							| @ -618,14 +618,15 @@ examples/chinese.journal: tools/generatejournal | |||||||
| examples/mixed.journal: tools/generatejournal | examples/mixed.journal: tools/generatejournal | ||||||
| 	tools/generatejournal 3 5 5 --mixed >$@ | 	tools/generatejournal 3 5 5 --mixed >$@ | ||||||
| 
 | 
 | ||||||
| BENCHEXES=hledger | # hledger executables to bench test, can be overridden by env var, 
 | ||||||
| # or, eg: BENCHEXES=ledger,hledger-1.4,hledger  
 | # eg: BENCHEXES=ledger,hledger-1.18,hledger make bench
 | ||||||
|  | BENCHEXES ?= hledger | ||||||
| 
 | 
 | ||||||
| bench: quickbench | bench: quickbench | ||||||
| 
 | 
 | ||||||
| quickbench: samplejournals bench.sh $(call def-help,bench, benchmark commands in bench.sh with quickbench and $(BENCHEXES)) | quickbench: samplejournals bench.sh $(call def-help,bench, benchmark commands in bench.sh with quickbench and $(BENCHEXES)) | ||||||
| 	@echo; echo "run quick performance benchmarks in bench.sh (approximate, can be skewed):" | 	@echo; echo "run quick performance benchmarks in bench.sh (approximate, can be skewed):" | ||||||
| 	quickbench -v -w $(BENCHEXES) | 	quickbench -w $(BENCHEXES)  # -v | ||||||
| 
 | 
 | ||||||
| # bench: samplejournals tests/bench.tests tools/simplebench \
 | # bench: samplejournals tests/bench.tests tools/simplebench \
 | ||||||
| # 	$(call def-help,bench,\
 | # 	$(call def-help,bench,\
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user