Stream: Archive Mirror: Isabelle Users Mailing List

Topic: [isabelle] Slow startup if AFP in ROOTS


view this post on Zulip Email Gateway (Aug 22 2022 at 20:09):

From: Joshua Chen <josh@joshchen.io>
Is there any way to alleviate this for the moment? Or will I just have
to accept long startup times whenever I need to work with the AFP?

Cheers,
Josh

view this post on Zulip Email Gateway (Aug 22 2022 at 20:10):

From: Makarius <makarius@sketis.net>
It depends what you mean by "work with the AFP".

If you are mainly focused on a particular session, the following NEWS
entry for Isabelle2018 may help:

* Isabelle/jEdit Prover IDE *

If you are working with all of AFP somehow, e.g. extensive testing, it
helps to use a really fast Linux or macOS machine with really fast SSD.
Windows is much slower in this respect.

Makarius

view this post on Zulip Email Gateway (Aug 22 2022 at 20:10):

From: "Achim D. Brucker" <brucker@spamfence.net>
Hi,

as a work-around, you can only include the AFP entries (transitively, i.e.,
including their dependencies) that you actually need. Just include the
folders of the entries into your main ROOTS file.

While this is less convenient, it speeds up the starting time significantly.
My current projects require, in total, around ten AFP entries and including
all of them in my $ISABELLE_HOME_USER/ROOTS file does not slow down the
start of Isabelle significantly, while allowing me to work "as if I would have
included the whole AFP".

Cheers,
Achim

view this post on Zulip Email Gateway (Aug 22 2022 at 20:17):

From: Joshua Chen <josh@joshchen.io>
Dear Isabelle list,

I find that the time and CPU usage during Isabelle startup increases
greatly if I have the AFP entry in my ROOTS file, factor ~3, is this
normal? This happens both on Isabelle2018 and 2019.

Best,
Josh

view this post on Zulip Email Gateway (Aug 22 2022 at 20:17):

From: Makarius <makarius@sketis.net>
Yes. AFP is very big, and this is an indication that the approach to
explore all dependencies of sessions/theories on startup of the Prover
IDE will not scale much further.

Makarius


Last updated: Nov 21 2024 at 12:39 UTC