From 1b19e689f0b76290a437dd614da8685574e72b73 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 15 Mar 2021 12:58:26 +0100 Subject: t/*: disable fsync on tests were create_inbox isn't worth it Using create_inbox doesn't seem worth the trouble, here, at the moment, but disabling fsync(2) gives a noticeable speedup on my system even with an SSD. --- t/v2writable.t | 1 + 1 file changed, 1 insertion(+) (limited to 't/v2writable.t') diff --git a/t/v2writable.t b/t/v2writable.t index f0fa8a79..d9e7b980 100644 --- a/t/v2writable.t +++ b/t/v2writable.t @@ -17,6 +17,7 @@ my $ibx = { inboxdir => $inboxdir, name => 'test-v2writable', version => 2, + -no_fsync => 1, -primary_address => 'test@example.com', }; $ibx = PublicInbox::Inbox->new($ibx); -- cgit v1.2.3-24-ge0c7