Ignore:
Timestamp:
Nov 18, 2021, 2:49:47 PM (11 months ago)
Author:
Michael Brooks <mlbrooks@…>
Branches:
enum, master, pthread-emulation, qualifiedEnum
Children:
97d58dc
Parents:
01db301
Message:

Switching top loop to count operations done in 10 sec

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/zombies/string-perf/Makefile

    r01db301 r4d0eb1c  
    77PERFFLAGS_CXX = -DNDEBUG -O2
    88
    9 #PERFPROGS can include this one, but it's 10x slower than its peers
    10 #       perfexp-cfa-hl-pta-noshare \
    119
    1210PERFPROGS = \
     
    1513        perfexp-cfa-ll-pta-share \
    1614        perfexp-cfa-ll-peq-share \
     15        perfexp-cfa-hl-pta-noshare \
    1716        perfexp-cfa-hl-peq-noshare \
    1817        perfexp-cfa-ll-pta-noshare \
     
    2625
    2726perfexp-cfa-hl-pta-share : prog.cfa $(LIBCFA)
    28         $(CFA) $(PERFFLAGS_CFA) $^ -o $@ -DIMPL_CFA_HL_SHARE -DOP_PLUS_THEN_ASSIGN
     27        $(CFA) $(PERFFLAGS_CFA) $< -o $@ -DIMPL_CFA_HL_SHARE -DOP_PLUS_THEN_ASSIGN
    2928
    3029perfexp-cfa-hl-peq-share : prog.cfa $(LIBCFA)
    31         $(CFA) $(PERFFLAGS_CFA) $^ -o $@ -DIMPL_CFA_HL_SHARE -DOP_PLUSEQ
     30        $(CFA) $(PERFFLAGS_CFA) $< -o $@ -DIMPL_CFA_HL_SHARE -DOP_PLUSEQ
    3231
    3332perfexp-cfa-ll-pta-share : prog.cfa $(LIBCFA)
    34         $(CFA) $(PERFFLAGS_CFA) $^ -o $@ -DIMPL_CFA_LL_SHARE -DOP_PLUS_THEN_ASSIGN
     33        $(CFA) $(PERFFLAGS_CFA) $< -o $@ -DIMPL_CFA_LL_SHARE -DOP_PLUS_THEN_ASSIGN
    3534
    3635perfexp-cfa-ll-peq-share : prog.cfa $(LIBCFA)
    37         $(CFA) $(PERFFLAGS_CFA) $^ -o $@ -DIMPL_CFA_LL_SHARE -DOP_PLUSEQ
     36        $(CFA) $(PERFFLAGS_CFA) $< -o $@ -DIMPL_CFA_LL_SHARE -DOP_PLUSEQ
    3837
    3938perfexp-cfa-hl-pta-noshare : prog.cfa $(LIBCFA)
    40         $(CFA) $(PERFFLAGS_CFA) $^ -o $@ -DIMPL_CFA_HL_NOSHARE -DOP_PLUS_THEN_ASSIGN
     39        $(CFA) $(PERFFLAGS_CFA) $< -o $@ -DIMPL_CFA_HL_NOSHARE -DOP_PLUS_THEN_ASSIGN
    4140
    4241perfexp-cfa-hl-peq-noshare : prog.cfa $(LIBCFA)
    43         $(CFA) $(PERFFLAGS_CFA) $^ -o $@ -DIMPL_CFA_HL_NOSHARE -DOP_PLUSEQ
     42        $(CFA) $(PERFFLAGS_CFA) $< -o $@ -DIMPL_CFA_HL_NOSHARE -DOP_PLUSEQ
    4443
    4544perfexp-cfa-ll-pta-noshare : prog.cfa $(LIBCFA)
    46         $(CFA) $(PERFFLAGS_CFA) $^ -o $@ -DIMPL_CFA_LL_NOSHARE -DOP_PLUS_THEN_ASSIGN
     45        $(CFA) $(PERFFLAGS_CFA) $< -o $@ -DIMPL_CFA_LL_NOSHARE -DOP_PLUS_THEN_ASSIGN
    4746
    4847perfexp-cfa-ll-peq-noshare : prog.cfa $(LIBCFA)
    49         $(CFA) $(PERFFLAGS_CFA) $^ -o $@ -DIMPL_CFA_LL_NOSHARE -DOP_PLUSEQ
     48        $(CFA) $(PERFFLAGS_CFA) $< -o $@ -DIMPL_CFA_LL_NOSHARE -DOP_PLUSEQ
    5049
    5150perfexp-stl-pta : prog.cfa
    52         $(CXX) -xc++ $(PERFFLAGS_CXX) $^ -o $@ -DIMPL_STL -DOP_PLUS_THEN_ASSIGN
     51        $(CXX) -xc++ $(PERFFLAGS_CXX) $< -o $@ -DIMPL_STL -DOP_PLUS_THEN_ASSIGN
    5352
    5453perfexp-stl-peq : prog.cfa
    55         $(CXX) -xc++ $(PERFFLAGS_CXX) $^ -o $@ -DIMPL_STL -DOP_PLUSEQ
     54        $(CXX) -xc++ $(PERFFLAGS_CXX) $< -o $@ -DIMPL_STL -DOP_PLUSEQ
    5655
    5756perfexp-buhr94-pta.o : prog.cfa
    58         $(CXX) -xc++ -c $(PERFFLAGS_CXX) $^ -o $@ -DIMPL_BUHR94 -DOP_PLUS_THEN_ASSIGN
     57        $(CXX) -xc++ -c $(PERFFLAGS_CXX) $< -o $@ -DIMPL_BUHR94 -DOP_PLUS_THEN_ASSIGN
    5958
    6059perfexp-buhr94-peq.o : prog.cfa
    61         $(CXX) -xc++ -c $(PERFFLAGS_CXX) $^ -o $@ -DIMPL_BUHR94 -DOP_PLUSEQ
     60        $(CXX) -xc++ -c $(PERFFLAGS_CXX) $< -o $@ -DIMPL_BUHR94 -DOP_PLUSEQ
    6261
    6362buhr94-string.o:
     
    7776
    7877MEASURE = $(PERFPROGS)
    79 CORPORI = ../corpus-100-*-1.txt
     78CORPORI = corpus-100-*-1.txt
    8079
    81 measurment: $(MEASURE)
     80measurement: $(MEASURE)
    8281        tofile=measurement-`date '+%F--%H-%M-%S'`.csv ; \
    8382        echo $$tofile ; \
     
    8584            for corpus in $(CORPORI) ; do \
    8685                        corpusbody=`cat $$corpus` ; \
    87                         printed=`./$$prog $$corpusbody` ; \
     86                        printed=`./$$prog 100 10 $$corpusbody` ; \
    8887                        echo $$prog,$$corpus,$$printed  >>  $$tofile ; \
    8988                done ; \
Note: See TracChangeset for help on using the changeset viewer.