Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Karsten Poeck
cl-bench
Commits
39829f8a
Commit
39829f8a
authored
Feb 13, 2016
by
Daniel Kochmański
Browse files
sysdep: refine setup-ecl.lisp
parent
8c3e6fec
Changes
1
Hide whitespace changes
Inline
Side-by-side
sysdep/setup-ecl.lisp
View file @
39829f8a
...
...
@@ -7,13 +7,18 @@
(
load
"defpackage"
)
(
in-package
:cl-bench
)
(
ext:set-limit
'ext:c-stack
(
*
8
1024
1024
))
(
defun
bench-gc
()
(
si:gc
t
))
#+
threads
(
defmacro
with-spawned-thread
(
&body
body
)
`
(
progn
,@
body
))
`
(
mp:process-run-function
nil
#'
(
lambda
()
,@
body
))
)
#-
threads
(
defmacro
with-spawned-thread
(
&body
body
)
`
(
progn
,@
body
))
;; to autoload the compiler
(
compile
'bench-gc
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment