Commit Graph

328 Commits (55bb8637044e901bde4a9d2663c52b27830ae2fe)

Author SHA1 Message Date
Joe Groff 4027002db7 remove SIMD:s 2009-11-25 20:21:54 -08:00
Joe Groff cb8f757c72 update benchmark.nbody-simd and benchmark.raytracer-simd 2009-11-25 18:02:27 -08:00
Slava Pestov 0612bc6177 Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Slava Pestov 6a2cf3516d Bootstrap and mason now record times in nanoseconds 2009-11-19 23:50:30 -06:00
Doug Coleman 7bebc6a4fa fix benchmark time reporting 2009-11-19 18:27:09 -06:00
Slava Pestov c4cd6e0787 benchmark.fannkuch: use iota 2009-11-13 03:52:20 -06:00
Joe Groff a5957b188d nip most uses of tuck from extra 2009-11-05 22:22:21 -06:00
Doug Coleman 1d12a6707d sigma -> map-sum 2009-10-29 14:34:04 -05:00
Joe Groff 3fbe722561 Merge branch 'master' of http://factorcode.org/git/factor
Conflicts:
	basis/locals/locals.factor
	basis/peg/peg.factor
	extra/infix/infix.factor
2009-10-28 16:17:24 -05:00
Joe Groff 6e1bffb1c5 update existing code to use :> ( ) when possible 2009-10-28 16:11:33 -05:00
Doug Coleman bd13e018dd memq? -> member-eq?, sorted-memq? -> sorted-member-eq? 2009-10-28 15:02:00 -05:00
Doug Coleman 1476cdb974 reverse-here -> reverse! 2009-10-28 14:40:15 -05:00
Joe Groff ef25935366 fix load errors from load-all 2009-10-28 13:56:15 -05:00
Slava Pestov 08e7d25dc5 change-each -> map!, deep-change-each -> deep-map! 2009-10-27 22:32:56 -05:00
Joe Groff 935c0797c3 update existing code for [let change 2009-10-27 22:05:37 -05:00
Joe Groff c3b8847936 update a bunch of alien-callbacks and alien-indirects to use c-type words 2009-10-21 21:10:11 -05:00
Joe Groff 6022a0f5d9 fix benchmark.terrain-generation 2009-10-15 23:20:05 -05:00
Slava Pestov 0d970ff89d benchmark: update gc1 and add new gc3 benchmark 2009-10-14 04:59:48 -05:00
Doug Coleman 3ff8db48f6 speed up mt benchmarks considerably by doing less iterations 2009-10-07 18:48:23 -05:00
Doug Coleman 11be7d9ff6 add benchmark.mt for comparison to sfmt 2009-10-07 15:27:10 -05:00
Doug Coleman deabbb46b5 add a random.sfmt benchmark 2009-10-02 02:03:15 -05:00
Joe Groff a2771aa166 pit math.matrices and math.matrices.simd against each other in calculating matrix exponentials 2009-09-30 12:58:32 -05:00
Joe Groff 3c51312987 benchmarks for math.matrices and math.matrices.simd building and multiplying 3D matrices (vector versions are still slow because v? and vmask aren't intrinsic yet) 2009-09-30 11:51:44 -05:00
Slava Pestov 48d3f10c81 Fix some load errors in various places 2009-09-28 16:33:39 -05:00
Joe Groff 630e5ecc3b update vocabs so a load-all on macosx works without parsing c-type strings 2009-09-27 15:11:21 -05:00
Doug Coleman 90b06c55cd calculate factorial with decimals 2009-09-24 23:41:34 -05:00
Doug Coleman b85616fa61 move benchmarks from work to extra. wtf oops 2009-09-24 22:58:42 -05:00
Slava Pestov 1813896d14 benchmark.mandel: clean up the code a bit without changing performance
- use iota when iterating over integers
- clean up 'c' word
2009-09-24 02:51:43 -05:00
Slava Pestov 2406bdd6f7 benchmark.sockets: don't hang if an error occurs 2009-09-23 20:37:34 -05:00
Slava Pestov 4c10707df3 Fix benchmarks for SIMD: syntax change 2009-09-23 20:28:48 -05:00
Slava Pestov 47d8763340 More integer SIMD work
- move generated vocab support from specialized-arrays to vocabs.generated
- add fuzz testing to math.vectors.simd
- add alien type support for integer SIMD vectors
- SIMD: parsing word generates a SIMD type, instead of pre-generating them all in math.vectors.simd
2009-09-20 16:48:17 -05:00
Joe Groff 076ab42dc3 move some allocation words that don't really have much to do with c types out of alien.c-types into a new alien.data vocab 2009-09-17 22:36:05 -05:00
Slava Pestov 8d83824bb8 benchmark.spectral-norm: take out unsafe sequence access since it doesn't make it faster, and replace tuck/2bi* with bi-curry bi* 2009-09-16 16:13:55 -07:00
Slava Pestov e062cd34dd benchmark.simd-1, struct-arrays: reduce memory usage 2009-09-13 17:19:59 -05:00
Slava Pestov 0d4845de26 benchmark.gc1: reduce memory usage 2009-09-13 00:54:04 -05:00
Slava Pestov 78e5dfcc8b benchmark.euler186: remove this too 2009-09-12 12:58:36 -05:00
Slava Pestov 16144a5eda Load fixes 2009-09-10 21:41:12 -05:00
Slava Pestov cffa0c2b4f benchmark: rename (run-benchmark) to run-benchmark, and run-benchmark to record-benchmark, since (run-benchmark) was actually useful on its own 2009-09-10 18:32:45 -05:00
Slava Pestov 7f2e2b1777 Specialized array overhaul
- Replace hand-written specialized-arrays.* subvocabularies with new system; instead of USE:ing specialized-arrays.T, do SPECIALIZED-ARRAY: T
- Ditto for specialized-vectors; use SPECIALIZED-VECTOR:
- io.mmap.functor: removed entirely, use <mapped-array> instead
- struct-arrays and struct-vectors have been removed because specialized arrays and vectors subsume them entirely
2009-09-09 22:33:34 -05:00
Slava Pestov 32ecb5d49b benchmark.nbody-simd: use map-reduce instead of reduce 2009-09-04 03:01:41 -05:00
Slava Pestov 85ae7f531b benchmark.nbody-simd: new benchmark; a version of benchmark.nbody that uses math.vectors.simd:double-4 instead of double-arrays 2009-09-03 20:59:49 -05:00
Slava Pestov c719b92363 benchmark.raytracer: replace hard-coded constant with self-documenting code 2009-09-03 02:24:32 -05:00
Slava Pestov f6da4856b4 benchmark.yuv-to-rgb: fix hints 2009-08-31 17:07:24 -05:00
Doug Coleman a9be2f2f08 update struct in yuv-to-rgb 2009-08-31 12:24:13 -05:00
Slava Pestov dca528eaef benchmark.terrain-generation: fix type error 2009-08-29 22:09:51 -05:00
Slava Pestov 9d61c162e2 benchmark.struct-arrays: doesn't actually need HINTS: 2009-08-29 21:23:35 -05:00
Joe Groff 4197891499 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-28 10:40:30 -05:00
Joe Groff c6c22a4d5d add a terrain-generation benchmark so slava will make it fast 2009-08-28 10:40:01 -05:00
Slava Pestov 624f636533 benchmark.struct-arrays: new benchmark to measure performance of struct-arrays, struct classes, and floating point math 2009-08-28 05:21:54 -05:00
Slava Pestov b71e14d89f benchmark.raytracer: eliminate -rot usage 2009-08-25 19:33:48 -05:00
Slava Pestov 5297be3e19 compiler.tree.modular-arithmetic: stronger optimization handles > 1 usages case as well as values defined and used in loops. Eliminates 5 out of 8 >fixnum calls in benchmark.yuv-to-rgb 2009-08-15 18:42:41 -05:00
Doug Coleman 6aa64a15dd forgot one 2009-08-14 14:40:44 -05:00
Doug Coleman 3f3d57032b Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring 2009-08-13 19:21:44 -05:00
Doug Coleman 56b81a74ab add chameneos-redux benchmark 2009-08-12 17:46:10 -05:00
Doug Coleman 4a3d63e00a use if-zero in a few more places 2009-08-11 18:15:53 -05:00
Slava Pestov e9d5b364b3 benchmark.yuv-to-rgb: New benchmark, based on Chris Double's old ogg.player code 2009-08-10 01:17:07 -05:00
Slava Pestov 1cb0f3370b math.vectors.specialization: first attempt at some call site splitting for vector ops. Specialized array types generate customized variants of all vector words, if input types are known at compile time, a call to the specialized version is inserted 2009-08-09 03:07:33 -05:00
Slava Pestov ee82d5a19f benchmark.beust2: use iota instead of integer sequences 2009-08-01 18:56:35 -05:00
Slava Pestov cc11727627 benchmark.pidigits: reduce parameter to speed up CI runs 2009-07-30 09:24:41 -05:00
Slava Pestov 389b689796 slightly faster heaps, add benchmark 2009-07-18 00:52:24 -05:00
Slava Pestov 4931ab0d5f benchmark: run each benchmark 5 times and take the best time 2009-07-16 03:30:11 -05:00
Slava Pestov 6737d2cdab benchmark.hashtables: throw something together 2009-07-07 12:20:43 -05:00
Slava Pestov daed003f33 vocabs.hierarchy: more refactoring, update existing code for new API 2009-07-06 04:55:23 -05:00
Doug Coleman b352bbdc12 move sha1 and sha2 to checksums.sha, update usages 2009-05-17 17:58:36 -05:00
Slava Pestov b62630b5ac Updating code in basis and extra for stricter vocab search path semantics 2009-05-14 23:23:06 -05:00
Slava Pestov 3fe5bb872b Deploy tool always uses optimizing compiler now 2009-05-11 00:32:22 -05:00
Aaron Schaefer 3466b5d986 Merge branch 'master' of git://factorcode.org/git/factor 2009-05-05 12:16:03 -04:00
Slava Pestov b2c3183b21 Split up tools.vocabs. Note that load-everything is now named load-all 2009-05-04 06:44:17 -05:00
Aaron Schaefer 97cb0a5130 Merge branch 'master' of git://factorcode.org/git/factor 2009-05-01 19:48:25 -04:00
Slava Pestov 48dbd4022c Remove obsolete benchmark 2009-04-30 17:13:52 -05:00
Slava Pestov 1ce65acff1 Benchmark harness now runs a GC first 2009-04-30 04:00:54 -05:00
Aaron Schaefer b1454784e4 Merge branch 'master' of git://factorcode.org/git/factor 2009-04-27 22:53:20 -04:00
Slava Pestov 291ac48a17 tuple-arrays: completely rewritten to use functors, 10x faster on benchmark 2009-04-26 13:31:10 -05:00
Doug Coleman cdb17b7433 make fasta work again 2009-04-26 00:45:03 -05:00
Slava Pestov b1c790da41 benchmark.javascript: new benchmark 2009-04-24 12:29:29 -05:00
Slava Pestov b78332d645 Merge branch 'master' of git://projects.elasticdog.com/git/factor 2009-04-24 01:16:57 -05:00
Aaron Schaefer 68d7137a16 Fix minor inconsistency in reference to var name 2009-04-24 02:16:05 -04:00
Aaron Schaefer d035c91e3f Add pidigits benchmark from language shootout 2009-04-24 02:05:52 -04:00
Slava Pestov 00b6107d3b Add benchmark.gc1 2009-04-24 00:12:23 -05:00
Slava Pestov 9dc7b4b95a Tweak some benchmark parameters 2009-04-17 17:55:01 -05:00
Slava Pestov 86e97b0d9c io.crlf: add some unit tests; read-crlf now returns f on EOF 2009-04-17 17:52:22 -05:00
Slava Pestov 0ffd43e2e3 1.0/0.0 => 1/0. 2009-04-13 19:48:08 -05:00
Slava Pestov e9b9907ef9 Factor out site-watcher.email, start work on site-watcher.spider 2009-04-06 17:49:34 -05:00
Slava Pestov fabe2df715 Crank down spectral-norm parameter so that it doesn't take way too long on non-SSE2 machines 2009-03-20 16:26:13 -05:00
Slava Pestov 575132336d Deploy descriptor for regex-dna 2009-03-18 18:30:56 -05:00
Slava Pestov 1d45720579 Add a deploy test to keep benchmark.regex-dna size down 2009-03-18 17:08:57 -05:00
Slava Pestov 0c39ed30e1 Fix benchmark table output 2009-03-15 23:25:36 -05:00
Daniel Ehrenberg 987cd1c8ce Moving regexp.matchers back to regexp 2009-03-10 18:27:33 -05:00
Daniel Ehrenberg af2d380a7f Regexp compiler used from literals 2009-02-26 18:06:57 -06:00
Slava Pestov eaad0c7660 Updating code to use CONSTANT: instead of : foo 123 ; inline 2009-02-23 21:40:17 -06:00
Doug Coleman e026b554a9 use CONSTANT: in extra 2009-02-22 19:08:45 -06:00
Slava Pestov ebd0e9250f Clean up some <file-reader> usages to use file-lines, file>csv, and file>xml instead 2009-02-15 20:45:06 -06:00
Slava Pestov 6b99b04531 Add vocab: for vocab-relative paths 2009-02-15 19:53:21 -06:00
Doug Coleman 4d15909fb7 rename a word 2009-01-30 12:49:22 -06:00
Doug Coleman 3c408342ef renaming: contain? -> any?, deep-contains? -> deep-any?, pad-left -> pad-head, pad-right -> pad-tail, trim-left -> trim-head, trim-right -> trim-tail 2009-01-29 22:19:07 -06:00
Slava Pestov adc4245d8b Clean up benchmark.nbody using a smart combinator 2009-01-11 15:37:05 -06:00
Daniel Ehrenberg ad53cb8635 Privatizing unicode.case:ch>{lower,upper,title} 2009-01-08 19:07:46 -06:00
Samuel Tardieu c8be645eb1 Remove "primes-under-million" list
In the past, this was a static list used to optimize prime factors
computation. Now that the dependency has been reversed, there is
no point in keeping this list which can be obtained by
"1000000 primes-upto" as easily.
2009-01-07 10:40:00 +01:00
Samuel Tardieu 2638db02d1 Use the largest source file to benchmark checksums
"extra/math/primes/list.factor" is very small. Replace it with the
largest factor source file in benchmarks.
2009-01-07 10:40:00 +01:00
Samuel Tardieu c1c1ebf3d4 Force primes list evaluation before benchmark 2008-12-29 21:29:26 +01:00