The branch "master" has been updated in SBCL:
via 8c4183ca0134aefafe8c6352e1ea5402138276c4 (commit)
from 26b063e941624112ea53eacc7ad1f4fb158d1cca (commit)
- Log -----------------------------------------------------------------
commit 8c4183ca0134aefafe8c6352e1ea5402138276c4
Author: Nikodemus Siivola <nikodemus@...>
Date: Mon Nov 28 12:41:52 2011 +0200
try to robustify test for bug-309448
We've been getting intermittent reports of it failing, but I've been unable
to reproduce so far. The test in question is a compiler scaling test, which
compares times it takes to compile different things. Brittle, indeed.
Other than non-SBCL causes the only thing I can think of right now is GCs
from other tests getting accounted against one of the supposed-to-be-fast
runs. So, run GC :FULL T before getting the timings to make things more
consistent.
---
tests/compiler.pure.lisp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/tests/compiler.pure.lisp b/tests/compiler.pure.lisp
index 083a79e..1a81296 100644
--- a/tests/compiler.pure.lisp
+++ b/tests/compiler.pure.lisp
@@ -3715,6 +3715,7 @@
;; compile-times this is bound to be a bit brittle, but at least
;; here we try to establish a decent baseline.
(flet ((time-it (lambda want)
+ (gc :full t) ; let's keep GCs coming from other code out...
(let* ((start (get-internal-run-time))
(fun (compile nil lambda))
(end (get-internal-run-time))
-----------------------------------------------------------------------
hooks/post-receive
--
SBCL
|