[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

register-compiled-module performance

From: Matt Welland
Subject: register-compiled-module performance
Date: Sat, 11 Jan 2020 06:13:21 -0700

With Chicken 4 I'm seeing a pretty high impact on startup time from (declare (uses foo.import)). I think that will be less of a problem when I switch from using * for my export lists to only the procedures that need to be exported. However I was very surprised to see readline in the top three when I ran a profile. I'm thinking somehow I've created a genuine problem but I've no idea what to look for.


Note - migration is a work in progress but we are not quite at a point where I can test this in Chicken 5.

procedure                                                          calls  seconds  average  percent
<syntax>                                                              29    1.880    0.064   12.384
megamod.import.scm:71: ##sys#register-compiled-module                  1    1.660    1.660   10.935
readline.scm:74: ##sys#register-compiled-module                        1    1.580    1.580   10.408
runsmod.import.scm:43: ##sys#register-compiled-module                  1    1.350    1.350    8.893

Complexity is your enemy. Any fool can make something complicated.
It is hard to keep things simple. - Richard Branson.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]