Changeset 4d0eb1c for tests/zombies/string-perf/Makefile
- Timestamp:
- Nov 18, 2021, 2:49:47 PM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum
- Children:
- 97d58dc
- Parents:
- 01db301
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/zombies/string-perf/Makefile
r01db301 r4d0eb1c 7 7 PERFFLAGS_CXX = -DNDEBUG -O2 8 8 9 #PERFPROGS can include this one, but it's 10x slower than its peers10 # perfexp-cfa-hl-pta-noshare \11 9 12 10 PERFPROGS = \ … … 15 13 perfexp-cfa-ll-pta-share \ 16 14 perfexp-cfa-ll-peq-share \ 15 perfexp-cfa-hl-pta-noshare \ 17 16 perfexp-cfa-hl-peq-noshare \ 18 17 perfexp-cfa-ll-pta-noshare \ … … 26 25 27 26 perfexp-cfa-hl-pta-share : prog.cfa $(LIBCFA) 28 $(CFA) $(PERFFLAGS_CFA) $ ^-o $@ -DIMPL_CFA_HL_SHARE -DOP_PLUS_THEN_ASSIGN27 $(CFA) $(PERFFLAGS_CFA) $< -o $@ -DIMPL_CFA_HL_SHARE -DOP_PLUS_THEN_ASSIGN 29 28 30 29 perfexp-cfa-hl-peq-share : prog.cfa $(LIBCFA) 31 $(CFA) $(PERFFLAGS_CFA) $ ^-o $@ -DIMPL_CFA_HL_SHARE -DOP_PLUSEQ30 $(CFA) $(PERFFLAGS_CFA) $< -o $@ -DIMPL_CFA_HL_SHARE -DOP_PLUSEQ 32 31 33 32 perfexp-cfa-ll-pta-share : prog.cfa $(LIBCFA) 34 $(CFA) $(PERFFLAGS_CFA) $ ^-o $@ -DIMPL_CFA_LL_SHARE -DOP_PLUS_THEN_ASSIGN33 $(CFA) $(PERFFLAGS_CFA) $< -o $@ -DIMPL_CFA_LL_SHARE -DOP_PLUS_THEN_ASSIGN 35 34 36 35 perfexp-cfa-ll-peq-share : prog.cfa $(LIBCFA) 37 $(CFA) $(PERFFLAGS_CFA) $ ^-o $@ -DIMPL_CFA_LL_SHARE -DOP_PLUSEQ36 $(CFA) $(PERFFLAGS_CFA) $< -o $@ -DIMPL_CFA_LL_SHARE -DOP_PLUSEQ 38 37 39 38 perfexp-cfa-hl-pta-noshare : prog.cfa $(LIBCFA) 40 $(CFA) $(PERFFLAGS_CFA) $ ^-o $@ -DIMPL_CFA_HL_NOSHARE -DOP_PLUS_THEN_ASSIGN39 $(CFA) $(PERFFLAGS_CFA) $< -o $@ -DIMPL_CFA_HL_NOSHARE -DOP_PLUS_THEN_ASSIGN 41 40 42 41 perfexp-cfa-hl-peq-noshare : prog.cfa $(LIBCFA) 43 $(CFA) $(PERFFLAGS_CFA) $ ^-o $@ -DIMPL_CFA_HL_NOSHARE -DOP_PLUSEQ42 $(CFA) $(PERFFLAGS_CFA) $< -o $@ -DIMPL_CFA_HL_NOSHARE -DOP_PLUSEQ 44 43 45 44 perfexp-cfa-ll-pta-noshare : prog.cfa $(LIBCFA) 46 $(CFA) $(PERFFLAGS_CFA) $ ^-o $@ -DIMPL_CFA_LL_NOSHARE -DOP_PLUS_THEN_ASSIGN45 $(CFA) $(PERFFLAGS_CFA) $< -o $@ -DIMPL_CFA_LL_NOSHARE -DOP_PLUS_THEN_ASSIGN 47 46 48 47 perfexp-cfa-ll-peq-noshare : prog.cfa $(LIBCFA) 49 $(CFA) $(PERFFLAGS_CFA) $ ^-o $@ -DIMPL_CFA_LL_NOSHARE -DOP_PLUSEQ48 $(CFA) $(PERFFLAGS_CFA) $< -o $@ -DIMPL_CFA_LL_NOSHARE -DOP_PLUSEQ 50 49 51 50 perfexp-stl-pta : prog.cfa 52 $(CXX) -xc++ $(PERFFLAGS_CXX) $ ^-o $@ -DIMPL_STL -DOP_PLUS_THEN_ASSIGN51 $(CXX) -xc++ $(PERFFLAGS_CXX) $< -o $@ -DIMPL_STL -DOP_PLUS_THEN_ASSIGN 53 52 54 53 perfexp-stl-peq : prog.cfa 55 $(CXX) -xc++ $(PERFFLAGS_CXX) $ ^-o $@ -DIMPL_STL -DOP_PLUSEQ54 $(CXX) -xc++ $(PERFFLAGS_CXX) $< -o $@ -DIMPL_STL -DOP_PLUSEQ 56 55 57 56 perfexp-buhr94-pta.o : prog.cfa 58 $(CXX) -xc++ -c $(PERFFLAGS_CXX) $ ^-o $@ -DIMPL_BUHR94 -DOP_PLUS_THEN_ASSIGN57 $(CXX) -xc++ -c $(PERFFLAGS_CXX) $< -o $@ -DIMPL_BUHR94 -DOP_PLUS_THEN_ASSIGN 59 58 60 59 perfexp-buhr94-peq.o : prog.cfa 61 $(CXX) -xc++ -c $(PERFFLAGS_CXX) $ ^-o $@ -DIMPL_BUHR94 -DOP_PLUSEQ60 $(CXX) -xc++ -c $(PERFFLAGS_CXX) $< -o $@ -DIMPL_BUHR94 -DOP_PLUSEQ 62 61 63 62 buhr94-string.o: … … 77 76 78 77 MEASURE = $(PERFPROGS) 79 CORPORI = ../corpus-100-*-1.txt78 CORPORI = corpus-100-*-1.txt 80 79 81 measur ment: $(MEASURE)80 measurement: $(MEASURE) 82 81 tofile=measurement-`date '+%F--%H-%M-%S'`.csv ; \ 83 82 echo $$tofile ; \ … … 85 84 for corpus in $(CORPORI) ; do \ 86 85 corpusbody=`cat $$corpus` ; \ 87 printed=`./$$prog $$corpusbody` ; \86 printed=`./$$prog 100 10 $$corpusbody` ; \ 88 87 echo $$prog,$$corpus,$$printed >> $$tofile ; \ 89 88 done ; \
Note: See TracChangeset
for help on using the changeset viewer.