summaryrefslogtreecommitdiff
path: root/benchmark-suite/Makefile.am
Commit message (Expand)AuthorAgeFilesLines
* Replace uniform-vector-read benchmark with bytevector-io benchmark...* benchmark-suite/benchmarks/uniform-vector-read.bm: Remove; uniform-vector-read! and uniform-vector-write were deprecated in 2.0 and are have been removed in 2.1. * benchmark-suite/benchmarks/bytevector-io.bm: New benchmark. * benchmark-suite/Makefile.am: Run the new benchmark. Daniel Llorens2017-10-311-1/+1
* Add 'string-hash' benchmarks....* benchmark-suite/benchmarks/hash.bm: New file. * benchmark-suite/Makefile.am (SCM_BENCHMARKS): Add it. Ludovic Courtès2015-01-111-0/+1
* move (test-suite lib) to lower dir; cleans up uninstalled paths....* check-guile.in: * test-suite/Makefile.am: * test-suite/test-suite/lib.scm: * benchmark-guile.in: * benchmark-suite/Makefile.am: * benchmark-suite/benchmark-suite/lib.scm: Lower the lib modules in the source tree. This lets us remove top_srcdir and top_builddir from the uninstalled paths. * test-suite/tests/asm-to-bytecode.test: * test-suite/tests/brainfuck.test: * test-suite/tests/compiler.test: * test-suite/tests/ftw.test: * test-suite/tests/gc.test: * test-suite/tests/match.test: * test-suite/tests/rnrs-libraries.test: * test-suite/tests/rnrs-test-a.scm: * test-suite/tests/sxml.match.test: Adapt to not expect that module names be prefixed with "test-suite". Andy Wingo2012-04-231-1/+2
* Add a few benchmarks for R6RS fixnum arithmetic...* benchmark-suite/benchmarks/r6rs-arithmetic.bm: New file containing some benchmarks for R6RS fixnum operations. * benchmark-suite/Makefile.am (SCM_BENCHMARKS): Add benchmarks/r6rs-arithmetic. Andreas Rottmann2011-04-041-0/+1
* Fix syntax error in benchmark-suite/Makefile.am...* benchmark-suite/Makefile.am (SCM_BENCHMARKS): Correct position of a trailing backslash. Andreas Rottmann2011-03-201-2/+2
* Benchmarks for string comparisons...* benchmark-suite/benchmarks/strings.bm: new file * benchmark-suite/Makefile.am: add strings.bm Michael Gran2011-03-191-0/+1
* Optimize `1+' and `1-' on fixnums....* libguile/vm-i-scheme.c (INUM_MAX, INUM_MIN): New macros. (add1, sub1): Add/subtract without untagging the operand. This leads to a 44% run time improvement compared to the previous implementation. * libguile/vm.c: Include <stdint.h>. * test-suite/tests/numbers.test ("1+", "1-"): Add tests for MOST-POSITIVE-FIXNUM, resp. MOST-NEGATIVE-FIXNUM, for 32-bit and 34-bit values thereof. * benchmark-suite/benchmarks/arithmetic.bm: New file. * benchmark-suite/Makefile.am (SCM_BENCHMARKS): Add it. Ludovic Courtès2010-10-131-0/+1
* Optimize `peek-char'....This makes `peek-char' 40x faster on a port whose encoding is faster on a UTF-8 port containing multi-byte codepoints. The `xml->sxml' procedure is 4x faster on a 2.7 MiB XML file. * libguile/ports.c (get_codepoint): New procedure, moved here from `scm_getc', with the additional BUF and LEN parameters. (scm_getc): Use it. (scm_peek_char): Use it instead of the `scm_getc'/`scm_ungetc' sequence. * test-suite/tests/ports.test ("string ports")["peek-char [latin-1]", "peek-char [utf-8]"]: New tests. * benchmark-suite/Makefile.am (SCM_BENCHMARKS): Add `benchmarks/ports.bm'. * benchmark-suite/benchmarks/ports.bm: New file. Ludovic Courtès2010-09-151-0/+1
* Factorize and optimize `write' for strings and characters....According to `write.bm', this makes `write' 2.6 times faster for strings. * libguile/print.c (iprin1): Use `write_character' when `SCM_WRITINGP (pstate)' and `SCM_CHARP (exp)' or `scm_is_string (exp)'. (scm_i_charprint): Remove. (display_character, write_character): New functions. (scm_write_char): Use `display_character' instead of `scm_i_charprint'. * libguile/print.h (scm_i_charprint): Remove declaration. * benchmark-suite/benchmarks/write.bm: New file. * benchmark-suite/Makefile.am (SCM_BENCHMARKS): Add `benchmarks/write.bm'. Ludovic Courtès2010-09-141-1/+2
* Start rewriting SRFI-1 in Scheme....This partially reverts commit e556f8c3c6b74ee6596e8dcbe829109d7745da2c (Fri May 6 2005). * module/srfi/srfi-1.scm (xcons, list-tabulate, not-pair?, car+cdr, last, fold, list-index): New procedures. * srfi/srfi-1.c (srfi1_module): New variable. (CACHE_VAR): New macro. (scm_srfi1_car_plus_cdr, scm_srfi1_fold, scm_srfi1_last, scm_srfi1_list_index, scm_srfi1_list_tabulate, scm_srfi1_not_pair_p, scm_srfi1_xcons): Rewrite as proxies of the corresponding Scheme procedure. * test-suite/tests/srfi-1.test ("list-tabulate")["-1"]: Change exception type to `exception:wrong-type-arg'. * benchmark-suite/benchmarks/srfi-1.bm: New file. * benchmark-suite/Makefile.am (SCM_BENCHMARKS): Add `benchmarks/srfi-1.bm'. * test-suite/standalone/Makefile.am (test_srfi_1_SOURCES, test_srfi_1_CFLAGS, test_srfi_1_LDADD): New variables. (check_PROGRAMS): Add `test-srfi-1'. (TESTS): Ditto. * test-suite/standalone/test-srfi-1.c: New file. Ludovic Courtès2010-07-211-0/+1
* Add missing benchmark files to the distribution....* benchmark-suite/Makefile.am (SCM_BENCHMARKS): Add `benchmarks/chars.bm' and `benchmarks/srfi-13.bm'. Ludovic Courtès2010-07-131-0/+2
* Add `(ice-9 vlist)'....* module/ice-9/vlist.scm, test-suite/tests/vlist.test, benchmark-suite/benchmarks/vlists.bm: New files. * module/Makefile.am (ICE_9_SOURCES): Add `vlist.scm'. * test-suite/Makefile.am (SCM_TESTS): Add `tests/vlist.test'. * benchmark-suite/Makefile.am (SCM_BENCHMARKS): Add `benchmarks/vlists.bm'. * doc/ref/api-compound.texi (VLists, VHashes): New nodes. Ludovic Courtès2010-02-031-1/+2
* Add struct & vector benchmarks....* benchmark-suite/benchmarks/structs.bm, benchmark-suite/benchmarks/vectors.bm: New files. * benchmark-suite/Makefile.am (SCM_BENCHMARKS): Add. * benchmark-suite/benchmarks/bytevectors.bm: Fix copyright. Ludovic Courtès2009-12-111-1/+3
* Fix makefile indentation....* benchmark-suite/Makefile.am, libguile/Makefile.am, meta/Makefile.am: Use TAB instead of 8 spaces... * .x-sc_makefile_check: New file. Ludovic Courtès2009-11-241-1/+1
* Import R6RS bytevectors and I/O ports from Guile-R6RS-Libs 0.2....* README: Document dependency on GNU libunistring. * benchmark-suite/Makefile.am (SCM_BENCHMARKS): Add `benchmark/bytevectors.bm'. * configure.in: Make sure we have libunistring; update $LIBS. * libguile.h: Include "bytevectors.h" and "r6rs-ports.h". * libguile/Makefile.am (libguile_la_SOURCES): Add `bytevectors.c' and `r6rs-ports.c' (DOT_X_FILES): Add `bytevectors.x' and `r6rs-ports.x'. (DOT_DOC_FILES): Add `bytevectors.doc' and `r6rs-ports.doc'. (noinst_HEADERS): Add `ieee-754.h'. (modinclude_HEADERS): Add `bytevectors.h' and `r6rs-ports.h' * libguile/validate.h (SCM_VALIDATE_BYTEVECTOR): New macro. * module/Makefile.am (SOURCES): Add $(RNRS_SOURCES). (RNRS_SOURCES): New variable. * test-suite/Makefile.am (SCM_TESTS): Add `bytevectors.test' and `r6rs-ports.test'. Ludovic Courtès2009-05-281-0/+1
* Add subr invocation benchmark....* benchmark-suite/Makefile.am (SCM_BENCHMARKS): Add `subr.bm'. Ludovic Courtès2009-03-021-0/+1
* Add `uniform-vector-read!' benchmark.Ludovic Courtès2008-09-151-5/+6
* Add `ChangeLog-2008' files to the distribution.Ludovic Courtès2008-09-121-1/+2
* Add `read' benchmark.Ludovic Courtès2008-04-171-4/+5
* (SCM_BENCHMARKS_DIRS, dist-hook): Removed, they are...no longer needed and lead to unclean tarballs. Marius Vollmer2006-05-011-10/+0
* (dist-hook): Use quotes so that an empty SCM_BENCHMARKS_DIRS works.Marius Vollmer2002-07-261-1/+1
* (SCM_BENCHMARKS): List the real benchmarks, not foo...and bar. (SCM_BENCHMARKS_DIRS): Uncommented, with an empty value. Marius Vollmer2002-07-261-4/+5
* * COPYING, README, Makefile.am, lib.scm, guile-benchmark: Copied...from the test-suite directory, renamed and adapted for use with benchmarks. * benchmarks/logand.bm, benchmarks/continuations.bm, benchmarks/if.bm: Added as initial fairly stupid examples for benchmarks. Dirk Herrmann2002-07-201-0/+15