Unit Tests - repair

- Added auto right trim to all table rows, which is a much more
  efficient way of doing what Table::optimize was doing.
- Table::optimize is now a nop.
This commit is contained in:
Paul Beckingham
2009-03-08 22:56:47 -04:00
parent 3f418c6fdc
commit 28e997691f
5 changed files with 18 additions and 49 deletions

View File

@@ -29,11 +29,11 @@
New benchmark:
1..4
ok 1 - Created bench.rc
# start=1236558734
# start=1236565862
# 1000 tasks added in 3 seconds
# 600 tasks altered in 29 seconds
# stop=1236558924
# total=190
# 600 tasks altered in 28 seconds
# stop=1236566048
# total=186
ok 2 - Removed pending.data
ok 3 - Removed completed.data
ok 4 - Removed bench.rc

View File

@@ -44,7 +44,6 @@ my $setup = "../task rc:bug_sort.rc add one;"
qx{$setup};
my $output = qx{../task rc:bug_sort.rc list};
#diag ($output);
like ($output, qr/three.*(?:one.*two|two.*one)/msi, 'list did not hang');
qx{../task rc:bug_sort.rc 1 priority:H};