summaryrefslogtreecommitdiff
path: root/benchmark-suite
Commit message (Collapse)AuthorAgeFilesLines
* Merge until e0bcda4ad940c4e15679cc2b229838b33acdd36c from stable-2.2Andy Wingo2017-11-292-16/+15
|\
| * Replace uniform-vector-read benchmark with bytevector-io benchmarkDaniel Llorens2017-10-312-16/+15
| | | | | | | | | | | | | | | | * 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.
* | Replace "pr" struct fields with "pw" fieldsAndy Wingo2017-09-231-26/+9
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | * libguile/struct.h (SCM_VTABLE_BASE_LAYOUT): Layout is a "pr" field. * module/ice-9/boot-9.scm (record-type-vtable): Record vtable fields are writable. (<parameter>): "pw" fields. * module/oop/goops.scm (<class>, %compute-layout): <read-only> fields are "pw" underneath. * module/rnrs/records/procedural.scm (record-type-vtable) (record-constructor-vtable, make-record-type-descriptor): Use "pw" fields in vtables. * module/srfi/srfi-35.scm (%condition-type-vtable) (struct-layout-for-condition): "pw" fields in vtables. * test-suite/tests/goops.test: * test-suite/tests/structs.test: Use "pw" fields only. * benchmark-suite/benchmarks/structs.bm: Update for make-struct/no-tail, to use pw fields, and also to remove useless tests that the compiler would optimize away. * doc/ref/api-data.texi (Vtables): Add a note about the now-vestigial permissions character and update documentation. (Structure Basics, Meta-Vtables): Update examples. * libguile/hash.c (scm_i_struct_hash): Remove code that would handle opaque/self fields. * libguile/print.h (SCM_PRINT_STATE_LAYOUT): Use "pw" fields. * libguile/struct.c (scm_struct_init): Simplify check for hidden fields. * libguile/values.c (scm_init_values): Field is "pw".
* Use symbols instead of _IONBF values as args to setvbufAndy Wingo2016-04-042-11/+11
| | | | | | | | | | | | | | | | | | | | | * libguile/ports.c (scm_setvbuf): Use the symbols `none', `line', and `block' instead of the values `_IONBF', `_IOLBF', and `_IOFBF'. * NEWS: Update. * doc/ref/posix.texi (Ports and File Descriptors): Update setvbuf documentation. * module/ice-9/deprecated.scm (define-deprecated): New helper. (_IONBF, _IOLBF, _IOFBF): Define deprecated values. * benchmark-suite/benchmarks/read.bm ("read"): * benchmark-suite/benchmarks/uniform-vector-read.bm ("uniform-vector-read!"): * libguile/r6rs-ports.c (cbip_fill_input): * module/system/base/types.scm (%ffi-memory-backend): * module/web/client.scm (open-socket-for-uri): * module/web/server/http.scm (http-read): * test-suite/tests/ports.test ("pipe, fdopen, and line buffering"): ("setvbuf"): * test-suite/tests/r6rs-ports.test ("7.2.7 Input Ports"): Update to use non-deprecated interfaces.
* Merge commit '01a301d1b606b84d986b735049e7155d2f4cd6aa'Andy Wingo2015-01-222-0/+54
|\ | | | | | | | | Conflicts: libguile/hash.c
| * Add 'string-hash' benchmarks.Ludovic Courtès2015-01-112-0/+54
| | | | | | | | | | * benchmark-suite/benchmarks/hash.bm: New file. * benchmark-suite/Makefile.am (SCM_BENCHMARKS): Add it.
* | Merge branch 'stable-2.0'Mark H Weaver2014-09-301-2/+7
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: benchmark-suite/benchmarks/ports.bm libguile/async.h libguile/bytevectors.c libguile/foreign.c libguile/gsubr.c libguile/srfi-1.c libguile/vm-engine.h libguile/vm-i-scheme.c module/Makefile.am module/language/tree-il/analyze.scm module/language/tree-il/peval.scm module/scripts/compile.scm module/scripts/disassemble.scm test-suite/tests/asm-to-bytecode.test test-suite/tests/peval.test test-suite/tests/rdelim.test
| * rdelim: Speed up 'read-string' (aka. 'get-string-all'.)Ludovic Courtès2014-05-281-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | This yields a 20% improvement on the "read-string" benchmark. * module/ice-9/rdelim.scm (read-string): Rewrite as a 'case-lambda', with a tight loop around 'read-char', and without using 'read-string!'. * test-suite/tests/rdelim.test ("read-string")["longer than 100 chars, with limit"]: New test. * benchmark-suite/benchmarks/ports.bm ("rdelim")["read-string"]: New benchmark.
* | String ports use UTF-8; ignore %default-port-encoding.Mark H Weaver2013-08-071-9/+7
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libguile/strports.c (scm_mkstrport): Use UTF-8; ignore %default-port-encoding. Rename 'str_len' and 'c_pos' to 'num_bytes' and 'c_byte_pos'. Interpret 'pos' argument as a character index instead of a byte index. * module/ice-9/boot-9.scm (%cond-expand-features): Add srfi-6 to the list of core features. * module/srfi/srfi-6.scm (open-input-string, open-output-string): Simply re-export these, since the core versions are now compliant. * doc/ref/api-io.texi (String Ports): Remove text that describes non-compliant behavior of string ports with regard to encoding. * doc/ref/srfi-modules.texi (SRFI-0): Add srfi-6 to the list of core features. (SRFI-6): Remove text that mentions non-compliant behavior of core string ports. * module/ice-9/format.scm (format): * module/ice-9/pretty-print.scm (truncated-print): * module/rnrs/io/ports.scm (open-string-input-port, open-string-output-port): * test-suite/test-suite/lib.scm (format-test-name): * test-suite/tests/chars.test ("combining accent is pretty-printed", "combining X is pretty-printed"): * test-suite/tests/ecmascript.test (eread, eread/1): * test-suite/tests/rdelim.test: * test-suite/tests/reader.test (read-string): * test-suite/tests/regexp.test: * test-suite/tests/srfi-105.test (read-string): Don't set %default-port-encoding before creating string ports. * benchmark-suite/benchmarks/ports.bm (%latin1-port): Use 'set-port-encoding!' to set the string port encoding. (%utf8/ascii-port, %utf8/wide-port, "rdelim"): Don't set %default-port-encoding before creating string ports. * test-suite/tests/r6rs-ports.test ("lookahead-u8 non-ASCII"): Don't set %default-port-encoding before creating string ports. ("put-bytevector with UTF-16 string port", "put-bytevector with wrong-encoding string port"): Use 'set-port-encoding!' to set the string port encoding. * test-suite/tests/print.test (tprint): Use 'set-port-encoding!' to set the string port encoding. ("truncated-print"): Use 'pass-if-equal'. * test-suite/tests/ports.test ("encoding failure leads to exception", "%default-port-encoding is honored", "peek-char [latin-1]", "peek-char [utf-8]", "peek-char [utf-16]"): Remove tests. ("%default-port-encoding is ignored", "peek-char"): Add tests. ("suitable encoding [latin-1]", "suitable encoding [latin-3]", "wrong encoding, error", "wrong encoding, substitute", "wrong encoding, escape"): Use 'set-port-encoding!' to set the string port encoding. ("%default-port-encoding, wrong encoding"): Rewrite to use a file port instead of a string port.
* Optimize `scm_read_string'.Ludovic Courtès2012-05-071-2/+13
| | | | | | | | | | | | | | | According to the new benchmarks, this leads a 5% speed improvement when reading small strings, and a 27% improvement when reading large strings. * libguile/read.c (READER_STRING_BUFFER_SIZE): Change to 128; update comment to mention codepoints. (scm_read_string): Make `str' a list of strings, instead of a string. Store characters read in buffer `c_str'. Cons to STR when C_STR is full, and concatenate/reverse at the end. * benchmark-suite/benchmarks/read.bm (small, large): New variables. Set %DEFAULT-PORT-ENCODING to "UTF-8". ("read")["small strings", "large strings"]: New benchmarks.
* modernize (benchmark-suite lib)Andy Wingo2012-04-231-239/+203
| | | | | | | | | | | | | | | * benchmark-suite/benchmark-suite/lib.scm: Rewrite to be more modern, using parameters, records, and higher precision timers. Since this file was never installed, this is an acceptable interface change. (run-benchmark): Run the thunk once before going into the benchmark. Adapt to new `report' interface. (report): Change to expect only one argument, a <benchmark-result> object. (print-result): Adapt. The result is in the same format as before. (print-user-result): Adapt. The result is different from before, but as this is just printed on stdout and not logged, there should be no problem. (calibrate-benchmark-framework): Pull initialization into a function.
* avoid inexact iteration count in benchmarksAndy Wingo2012-04-232-11/+11
| | | | | | * benchmark-suite/benchmarks/arithmetic.bm: * benchmark-suite/benchmarks/r6rs-arithmetic.bm: Use #e1e7 for the iteration count, instead of the flonum 1e7.
* move (test-suite lib) to lower dir; cleans up uninstalled paths.Andy Wingo2012-04-232-1/+2
| | | | | | | | | | | | | | | | | | | | | | | * 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".
* Improve port benchmark.Ludovic Courtès2012-03-071-40/+44
| | | | | | | | * benchmark-suite/benchmarks/ports.bm (sequence): New macro, formerly local to the "rdelim" benchmark prefix. (large-string): New procedure. (%latin1-port, %utf8/ascii-port, %utf8/wide-port): Use it. ("peek-char", "char-ready?", "read-char"): Use `sequence'.
* Use default value for make-fluid in Scheme filesAndy Wingo2011-11-231-3/+2
| | | | | | | | | | | | | | | | | | * module/ice-9/boot-9.scm (%exception-handler) (%running-exception-handlers, read-eval?, *repl-stack*) (make-mutable-parameter): * module/ice-9/getopt-long.scm (%program-name): * module/language/elisp/runtime.scm (built-in-macro, defspecial): * module/srfi/srfi-39.scm (make-parameter/helper): * module/system/base/language.scm (*current-language*): * module/system/base/message.scm (*current-warning-port*): (*current-warning-prefix*): * module/system/base/target.scm (%target-type, %target-endianness) (%target-word-size): * module/texinfo/plain-text.scm (*indent*, *itemizer*): * benchmark-suite/lib.scm (prefix-fluid): * test-suite/lib.scm (prefix-fluid): Give fluids a useful default value.
* add map and for-each benchmarksAndy Wingo2011-05-081-1/+18
| | | | | * benchmark-suite/benchmarks/srfi-1.bm ("map", "for-each"): Add benchmarks.
* Fix typo in arithmetic benchmarkMark H Weaver2011-04-071-1/+1
| | | | | * benchmark-suite/benchmarks/arithmetic.bm (fixnum): Fix `-' benchmark to actually use `-' operator instead of `+' operator.
* Add a few benchmarks for R6RS fixnum arithmeticAndreas Rottmann2011-04-042-0/+36
| | | | | | | * 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.
* Fix syntax error in benchmark-suite/Makefile.amAndreas Rottmann2011-03-201-2/+2
| | | | | * benchmark-suite/Makefile.am (SCM_BENCHMARKS): Correct position of a trailing backslash.
* Benchmarks for string comparisonsMichael Gran2011-03-192-0/+538
| | | | | * benchmark-suite/benchmarks/strings.bm: new file * benchmark-suite/Makefile.am: add strings.bm
* Misc textual editingNeil Jerram2011-02-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * doc/ref/api-scheduling.texi (Asyncs): "queueing" -> "queuing". * benchmark-suite/lib.scm, doc/sources/unix.texi (Unix conventions), test-suite/lib.scm: "postpend" -> "append". * doc/ref/api-compound.texi (Array Syntax, Dictionary Types), doc/ref/api-control.texi (Catch), doc/ref/api-data.texi (Complex Numbers, Conversion, Random, Symbol Props, Symbol Uninterned), doc/ref/api-options.texi (Build Config, Common Feature Symbols), doc/ref/api-regex.texi (Match Structures), doc/ref/api-undocumented.texi, doc/ref/compiler.texi (Tree-IL, GLIL), doc/ref/data-rep.texi (Immediate objects), doc/ref/goops.texi (Slot Description Example), doc/ref/history.texi (A Scheme of Many Maintainers, Status), doc/ref/libguile-program.texi (Available Functionality), doc/ref/misc-modules.texi (Formatted Output), doc/ref/mod-getopt-long.texi (getopt-long Reference), doc/ref/posix.texi (Network Socket Address, Network Sockets and Communication), doc/ref/srfi-modules.texi (SRFI-1 Association Lists, SRFI-10, SRFI-19 String to date, SRFI-27 Random Sources), doc/ref/vm.texi (Instruction Set, Top-Level Environment Instructions, Procedure Call and Return Instructions), doc/sources/unix.texi (Unix conventions): Correct spacing after "i.e." and "e.g.".
* Add a `read-line' benchmark.Ludovic Courtès2011-01-261-1/+22
| | | | * benchmark-suite/benchmarks/ports.bm ("rdelim"): New benchmark prefix.
* Add fixnum arithmetic benchmarks.Ludovic Courtès2010-11-191-1/+7
| | | | | * benchmark-suite/benchmarks/arithmetic.bm ("fixnum")["*", "/"]: New benchmarks.
* Augment `arithmetic.bm'.Ludovic Courtès2010-10-271-6/+21
| | | | | | | * benchmark-suite/benchmarks/arithmetic.bm (repeat): Change the syntax. Add support for binary OP. ("fixnum")["1+", "1-"]: Adjust accordingly. ["+", "-"]: New benchmarks.
* Optimize `1+' and `1-' on fixnums.Ludovic Courtès2010-10-132-0/+47
| | | | | | | | | | | | | | | | | * 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.
* Optimize `peek-char'.Ludovic Courtès2010-09-152-0/+68
| | | | | | | | | | | | | | | | | | | | | 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.
* Fix copyright year and module name of `write.bm'.Ludovic Courtès2010-09-151-2/+2
| | | | | * benchmark-suite/benchmarks/write.bm: Fix copyright year and module name.
* Factorize and optimize `write' for strings and characters.Ludovic Courtès2010-09-142-1/+54
| | | | | | | | | | | | | | | | | | 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'.
* SRFI-1: Rewrite `drop-right!', `drop-while', `reduce', etc. in Scheme.Ludovic Courtès2010-09-021-0/+9
| | | | | | | | | | | | | | | | | | This partially reverts commit e9508fbb7df0b1ead007637f16d80cf831776307 (May 3 2005). * module/srfi/srfi-1.scm (take!, drop-right!, reduce, reduce-right, take-while, take-while!, drop-while, span, span!, lset-adjoin): New procedures. * srfi/srfi-1.c (scm_srfi1_drop_right_x, scm_srfi1_drop_while, scm_srfi1_lset_adjoin, scm_srfi1_reduce, scm_srfi1_reduce_right, scm_srfi1_span, scm_srfi1_span_x, scm_srfi1_take_x, scm_srfi1_take_while, scm_srfi1_take_while_x): Rewrite as proxies to the corresponding Scheme procedures. * benchmark-suite/benchmarks/srfi-1.bm ("drop-while"): New benchmark prefix.
* SRFI-1: Choose better benchmark names.Ludovic Courtès2010-08-271-2/+2
| | | | | * benchmark-suite/benchmarks/srfi-1.bm ("fold"): Rename sub-tests to "big" and "small".
* Start rewriting SRFI-1 in Scheme.Ludovic Courtès2010-07-212-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Add missing benchmark files to the distribution.Ludovic Courtès2010-07-131-0/+2
| | | | | * benchmark-suite/Makefile.am (SCM_BENCHMARKS): Add `benchmarks/chars.bm' and `benchmarks/srfi-13.bm'.
* deprecate has-suffix?Andy Wingo2010-06-111-2/+2
| | | | | | | | * module/ice-9/boot-9.scm: * module/ice-9/deprecated.scm (has-suffix?): Deprecate. * test-suite/guile-test: * benchmark-suite/guile-benchmark: Fix uses of deprecated has-suffix?.
* rename (rnrs bytevector) to (rnrs bytevectors)Andy Wingo2010-06-011-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | * module/rnrs/bytevectors.scm: Rename to (rnrs bytevectors), from (rnrs bytevector), to match the name from the R6RS. * benchmark-suite/benchmarks/bytevectors.bm: * doc/ref/api-data.texi: * doc/ref/api-foreign.texi: * libguile/bytevectors.c: * module/6/rnrs.scm: * module/language/assembly.scm: * module/language/assembly/compile-bytecode.scm: * module/language/assembly/decompile-bytecode.scm: * module/language/glil/compile-assembly.scm: * module/language/tree-il/primitives.scm: * module/srfi/srfi-4.scm: * module/srfi/srfi-4/gnu.scm: * module/system/foreign.scm: * test-suite/standalone/test-ffi: * test-suite/tests/asm-to-bytecode.test: * test-suite/tests/bytevectors.test: * test-suite/tests/foreign.test: * test-suite/tests/r6rs-ports.test: Update all referrers.
* fix read.bmAndy Wingo2010-04-171-2/+2
| | | | | * benchmark-suite/benchmarks/read.bm (%files-to-load): psyntax-pp.scm, not psyntax.scm.
* Add `(ice-9 vlist)'.Ludovic Courtès2010-02-032-1/+105
| | | | | | | | | | | | | | * 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.
* Add struct & vector benchmarks.Ludovic Courtès2009-12-114-4/+124
| | | | | | | | | * 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.
* Fix makefile indentation.Ludovic Courtès2009-11-241-1/+1
| | | | | | | * benchmark-suite/Makefile.am, libguile/Makefile.am, meta/Makefile.am: Use TAB instead of 8 spaces... * .x-sc_makefile_check: New file.
* Increase benchmark iterations to improve precision in comparisons over timeNeil Jerram2009-11-033-5/+5
| | | | | | | | | | | | * benchmark-suite/benchmarks/continuations.bm: Increase "call/cc" iterations from 300 to 12000. * benchmark-suite/benchmarks/srfi-13.bm ("strings"): Increase "copy" iterations from 1100 to 20000, and "pad" from 6800 to 34000. * benchmark-suite/benchmarks/uniform-vector-read.bm ("uniform-vector-read!"): Increase "uniform-vector-write" iterations from 500 to 4000, and "uniform-vector-read!" from 500 to 20000.
* Changes so that benchmark-guile runs successfullyNeil Jerram2009-09-2210-8/+117
| | | | | | | | | | | | | | | | | | | | | | | | * benchmark-suite/benchmarks/bytevectors.bm: Add "coding: latin1" comment where Guile will find it. * benchmark-suite/benchmarks/chars.bm: Ditto. * benchmark-suite/benchmarks/srfi-13.bm: Ditto. * benchmark-suite/benchmarks/read.bm ("read"): Divide numbers of iterations by 10, so that the benchmarks complete within a few minutes. * benchmark-suite/lib.scm (benchmark): Use `run-benchmark' in macro definition, not `,run-benchmark'. * benchmark-suite/benchmarks/0-reference.bm, benchmark-suite/benchmarks/continuations.bm, benchmark-suite/benchmarks/if.bm, benchmark-suite/benchmarks/logand.bm: Add define-module. * benchmark-suite/results/neil-arudy: New file, containing benchmark results from my computer.
* Updates to benchmarks for srfi-13Michael Gran2009-08-191-46/+65
| | | | | | | | | Test more of the positive paths. Add test for string-prefix-ci? string-suffix-ci? and string-hash-ci. Update the counts per test to give approximately the same bench/interp time for each test for 1.8.7. * benchmark-suite/benchmarks/srfi-13.bm: update benchmarks
* Benchmarks for common character and string proceduresMichael Gran2009-08-182-0/+348
| | | | | | * benchmark-suite/benchmarks/chars.bm: new benchmarks * benchmark-suite/benchmarks/srfi-13.bm: new benchmarks
* Change Guile license to LGPLv3+Neil Jerram2009-06-176-52/+53
| | | | | | | | | | (Not quite finished, the following will be done tomorrow. module/srfi/*.scm module/rnrs/*.scm module/scripts/*.scm testsuite/*.scm guile-readline/* )
* Import R6RS bytevectors and I/O ports from Guile-R6RS-Libs 0.2.Ludovic Courtès2009-05-282-0/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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'.
* Add new subr invocation benchmarks.Ludovic Courtès2009-03-081-2/+22
| | | | | | | | * benchmark-suite/benchmarks/subr.bm (hook1, hook3): New variables. ("subr invocation")("generic subr with rest arg", "generic subr with rest arg and 3+ parameters"): New benchmarks. ("subr application")("generic subr with rest arg", "generic subr with rest arg and 3+ parameters"): New benchmarks.
* Add subr invocation benchmark.Ludovic Courtès2009-03-022-0/+47
| | | | * benchmark-suite/Makefile.am (SCM_BENCHMARKS): Add `subr.bm'.
* Revert "Note need for subscription to bug-guile@gnu.org."Neil Jerram2008-12-101-6/+4
| | | | | | | | This reverts commit cbea802b3763aa8cb43c88f7df272da3e41c32da, which is appropriate because subscription is not now required for someone to send a message to bug-guile@gnu.org. Conflicts:
* Add `uniform-vector-read!' benchmark.Ludovic Courtès2008-09-152-5/+59
|
* Add `ChangeLog-2008' files to the distribution.Ludovic Courtès2008-09-121-1/+2
|
* Rename `ChangeLog' files to `ChangeLog-2008'.Ludovic Courtès2008-09-121-0/+0
|