2008-04-30 17:11:55 -04:00
|
|
|
USING: checksums checksums.crc32 io.encodings.ascii io.files kernel math ;
|
2008-02-27 20:24:50 -05:00
|
|
|
IN: benchmark.crc32
|
|
|
|
|
2012-07-19 20:35:47 -04:00
|
|
|
: crc32-benchmark ( -- )
|
2013-04-19 14:35:47 -04:00
|
|
|
1,000 [
|
2009-02-15 20:53:21 -05:00
|
|
|
"vocab:mime/multipart/multipart-tests.factor"
|
2008-04-30 17:11:55 -04:00
|
|
|
crc32 checksum-file drop
|
2008-02-27 20:24:50 -05:00
|
|
|
] times ;
|
|
|
|
|
2012-07-19 20:35:47 -04:00
|
|
|
MAIN: crc32-benchmark
|