Search
13:00:56
kpoeck
Regarding compile-file-parrallel
13:01:09
kpoeck
Looking at https://github.com/clasp-developers/clasp/blob/dev/src/lisp/kernel/cmp/compile-file-parallel.lsp#L153
13:01:29
kpoeck
Regarding compile-file-parallel
13:01:55
kpoeck
Threads are being created for every form in the to be compiled file
13:02:30
kpoeck
So if the file being created has 1000 forms, 1000 threads are being created
13:03:12
kpoeck
That might explain why joining the threads takes some time
13:03:52
kpoeck
In https://github.com/clasp-developers/clasp/blob/dev/src/lisp/kernel/cmp/compile-file-parallel.lsp#L184
19:33:55
drmeister
kpoeck: Do 1000 threads get created?
19:34:36
drmeister
I'm surprised - I thought that ast compilation would slow things down enough so that maybe 20-30 threads were created at a time.
20:31:03
kpoeck_
Compiling asdf 254 threads are getting xreated and later joined
20:31:58
kpoeck_
They end so fast that there don‘t seem to be more than 10 threads at a time
20:32:39
kpoeck_
Still 254 different threads are getting created and have to be synchronized
20:36:23
kpoeck_
There is a cl-threadpool, perhaps it is usable