Ignore:
Timestamp:
Nov 10, 2017, 11:41:28 AM (7 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
6d2386e
Parents:
3351cc0
Message:

Added benchmark for compilation time

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/benchmark/Makefile.in

    r3351cc0 r3edc2df  
    124124  esac
    125125am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
    126 am__DIST_COMMON = $(srcdir)/Makefile.in
     126am__DIST_COMMON = $(srcdir)/Makefile.in compile
    127127DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    128128ACLOCAL = @ACLOCAL@
     
    569569        @BACKEND_CC@ creation/pthreads.c  -DBENCH_N=250000     -I. -lrt -pthread                    ${AM_CFLAGS} ${CFLAGS} ${ccflags}
    570570
     571compile$(EXEEXT) :\
     572        compile-array$(EXEEXT)          \
     573        compile-attributes$(EXEEXT)     \
     574        compile-empty$(EXEEXT)          \
     575        compile-expression$(EXEEXT)     \
     576        compile-io$(EXEEXT)             \
     577        compile-monitor$(EXEEXT)        \
     578        compile-operators$(EXEEXT)      \
     579        compile-thread$(EXEEXT)         \
     580        compile-typeof$(EXEEXT)         \
     581        compile-vector_test$(EXEEXT)
     582
     583compile-array$(EXEEXT):
     584        @printf '%20s\t' $(subst compile-,,$@)
     585        @/usr/bin/time -f "%E" ${CC} -quiet -fsyntax-only -w ../tests/array.c
     586
     587compile-attributes$(EXEEXT):
     588        @printf '%20s\t' $(subst compile-,,$@)
     589        @/usr/bin/time -f "%E" ${CC} -quiet -fsyntax-only -w ../tests/attributes.c
     590
     591compile-empty$(EXEEXT):
     592        @printf '%20s\t' $(subst compile-,,$@)
     593        @/usr/bin/time -f "%E" ${CC} -quiet -fsyntax-only -w compile/empty.c
     594
     595compile-expression$(EXEEXT):
     596        @printf '%20s\t' $(subst compile-,,$@)
     597        @/usr/bin/time -f "%E" ${CC} -quiet -fsyntax-only -w ../tests/expression.c
     598
     599compile-io$(EXEEXT):
     600        @printf '%20s\t' $(subst compile-,,$@)
     601        @/usr/bin/time -f "%E" ${CC} -quiet -fsyntax-only -w ../tests/io.c
     602
     603compile-monitor$(EXEEXT):
     604        @printf '%20s\t' $(subst compile-,,$@)
     605        @/usr/bin/time -f "%E" ${CC} -quiet -fsyntax-only -w ../tests/monitor.c
     606
     607compile-operators$(EXEEXT):
     608        @printf '%20s\t' $(subst compile-,,$@)
     609        @/usr/bin/time -f "%E" ${CC} -quiet -fsyntax-only -w ../tests/operators.c
     610
     611compile-thread$(EXEEXT):
     612        @printf '%20s\t' $(subst compile-,,$@)
     613        @/usr/bin/time -f "%E" ${CC} -quiet -fsyntax-only -w ../tests/thread.c
     614
     615compile-typeof$(EXEEXT):
     616        @printf '%20s\t' $(subst compile-,,$@)
     617        @/usr/bin/time -f "%E" ${CC} -quiet -fsyntax-only -w ../tests/typeof.c
     618
     619compile-vector_test$(EXEEXT):
     620        @printf '%20s\t' $(subst compile-,,$@)
     621        @/usr/bin/time -f "%E" ${CC} -quiet -fsyntax-only -w ../tests/vector_test.c
     622
    571623%.run : %$(EXEEXT) ${REPEAT}
    572624        @rm -f .result.log
Note: See TracChangeset for help on using the changeset viewer.