summaryrefslogtreecommitdiff
path: root/speed-test
AgeCommit message (Collapse)AuthorFilesLines
2013-09-06fsck fixes from Antoine BrennerLars Wirzenius1-0/+3
2013-01-20Fix speed-testLars Wirzenius1-7/+13
2013-01-16Repair non-working example.py and speed-testAntoine Brenner1-5/+9
The introduction of the allow_writes parameter in larch/forest.py:open_forest() broke example.py and speed-test. Just adding the parameter to the open_forest calls was not enough to fix the issue. This patch fixes the issue by adding the allow_writes parameter where it is needed beyond the open_forest calls. Most notably, this patch changes the __init__ signature of the abstract base class larch.NodeStore from __init__(self, node_size, codec) to __init__(self, allow_writes, node_size, codec) This mimicks the current signatures of NodeStoreDisk and NodeStoreMemory, which include the use of allow_writes as first parameter, and which seem required to actually create a forest anyway since forest.py creates node_store instances with allow_writes as first parameter in open_forest
2013-01-16Fix allow_writeBrinx1-4/+4
2011-07-07Add count_range to speed-test.Lars Wirzenius1-0/+6
2011-07-07Add len(list(lookup_range(a,b))) to speed-test.Lars Wirzenius1-1/+7
2011-06-28Use new cliapp settings API.Lars Wirzenius1-9/+8
2011-04-23Add --csv option to speed-test.Lars Wirzenius1-0/+51
2011-03-31Update to new cliapp API.Lars Wirzenius1-15/+17
2011-03-07Change names from btree to larch.Lars Wirzenius1-5/+5
2011-02-23Use btree.open_forest in speed-test.Lars Wirzenius1-5/+4
2011-02-23Change the forest factory to be a function, instead.Lars Wirzenius1-1/+1
No point in a class, since every call needs all parameters anyway.
2011-02-17Improve memory use logging.Lars Wirzenius1-5/+12
2011-02-17Add more memory use logging.Lars Wirzenius1-1/+4
2011-02-16Add speed-test --trace option.Lars Wirzenius1-1/+7
2011-02-16Bump copyright year.Lars Wirzenius1-1/+1
2011-02-16Add --log-memory-use option to speed-test.Lars Wirzenius1-0/+12
2011-02-16Convert to using cliapp.Lars Wirzenius1-112/+124
This will make it easier to add more options.
2010-12-27Turn lookup_range into a generator.Lars Wirzenius1-1/+2
This will be good when the range is very large.
2010-07-06Report some progress in speed-test.Lars Wirzenius1-0/+1
2010-07-05Change speed-test to report both CPU and wall clock times.Lars Wirzenius1-22/+26
2010-07-05Refactor speed-test.Lars Wirzenius1-63/+40
Results should be the same, but code is simpler and more maintainable now.
2010-07-05Change how range lookups and removals are measured.Lars Wirzenius1-9/+8
Before, lookup_range would be measured for a range that extended from each key to the end of keyspace. That is ridiculously large. Now we generate ranges that are 10 in length, starting at each key. This is rather more realistic.
2010-07-03Add remove_range to speed-test.Lars Wirzenius1-0/+19
2010-07-03Add remove to speed-test.Lars Wirzenius1-0/+10
2010-06-17Fix refcount-drops-to-zero.Lars Wirzenius1-1/+1
Unit tests, how I love thee...
2010-06-06Store lookup_range profile in the right file.Lars Wirzenius1-1/+1
2010-06-06Add lookup_range to speed-test.Lars Wirzenius1-5/+17
2010-06-05Add insertions into existing tree to speed-test.Lars Wirzenius1-2/+13
2010-05-24Add disabled code to set up logging.Lars Wirzenius1-0/+4
2010-05-24Measure commit time as well.Lars Wirzenius1-7/+12
This is important since we have upload queues now.
2010-05-13Add profiling support to speed-test.Lars Wirzenius1-7/+27
Remove profile script, since it is now unnecessary.
2010-05-08Add copyright and license information to every file.Lars Wirzenius1-1/+15
2010-05-06Block size should be realistic.Lars Wirzenius1-1/+1
2010-05-03Adjust speed-test to current APIs.Lars Wirzenius1-9/+15
2010-04-12Rewrite speed tester to work with current BTree implementation.Lars Wirzenius1-27/+40
Also, measure a different thing: the number of inserts and lookups per second. Keep size of nodes and keys fixed.
2010-03-14Make it possible to measure many fanout factors on the same run.Lars Wirzenius1-33/+27
Make report be a table, which is much more readable than a list of numbers.
2010-03-14Add simple benchmark script for B-tree implementation.Lars Wirzenius1-0/+65