Overview
Comment: | Added benchmark code |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
b0e3b6588fd6f04f0f5bbc61f4fc77c9 |
User & Date: | rkeene on 2019-09-17 23:41:31 |
Other Links: | manifest | tags |
Context
2019-09-17
| ||
23:43 | When compiling the benchmarks, optimize check-in: 7225016a7e user: rkeene tags: trunk | |
23:41 | Added benchmark code check-in: b0e3b6588f user: rkeene tags: trunk | |
23:23 | Made the entire data for file contents read-only check-in: 745e0c0839 user: rkeene tags: trunk | |
Changes
Modified Makefile from [e3065892de] to [eeaa998272].
1 2 | 1 2 3 4 5 6 7 8 9 10 | - + | TCL_CONFIG_SH := /usr/lib64/tclConfig.sh CPPFLAGS := -I. -DUSE_TCL_STUBS=1 -DXVFS_DEBUG $(shell . "${TCL_CONFIG_SH}" && echo "$${TCL_INCLUDE_SPEC}") $(XVFS_ADD_CPPFLAGS) |
︙ | |||
39 40 41 42 43 44 45 46 47 48 49 50 51 52 | 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | + + + | # xvfs-create-standalone is a standalone (i.e., no external dependencies # like lib/minirivet, xvfs-core.c, etc) version of "xvfs-create" xvfs-create-standalone: $(shell find lib -type f) xvfs-create xvfs-core.c xvfs-core.h xvfs.c.rvt Makefile rm -f xvfs-create-standalone.new xvfs-create-standalone ./xvfs-create --dump-tcl --remove-debug > xvfs-create-standalone.new chmod +x xvfs-create-standalone.new mv xvfs-create-standalone.new xvfs-create-standalone benchmark: xvfs$(LIB_SUFFIX) example-flexible$(LIB_SUFFIX) Makefile ./benchmark.tcl test: example-standalone$(LIB_SUFFIX) xvfs$(LIB_SUFFIX) example-client$(LIB_SUFFIX) example-flexible$(LIB_SUFFIX) Makefile rm -f __test__.tcl echo 'if {[catch { eval $$::env(XVFS_TEST_LOAD_COMMANDS); source //xvfs:/example/main.tcl }]} { puts stderr $$::errorInfo; exit 1 }; exit 0' > __test__.tcl @export XVFS_TEST_LOAD_COMMANDS; for XVFS_TEST_LOAD_COMMANDS in \ 'load ./example-standalone$(LIB_SUFFIX) Xvfs_example' \ 'load -global ./xvfs$(LIB_SUFFIX); load ./example-client$(LIB_SUFFIX) Xvfs_example' \ |
︙ | |||
81 82 83 84 85 86 87 | 84 85 86 87 88 89 90 91 | - + | rm -f xvfs.gcda xvfs.gcno rm -f __test__.tcl rm -f xvfs-test-coverage.info rm -rf xvfs-test-coverage distclean: clean |
Added benchmark.tcl version [23868591a9].
|