Gregory Malecha said:
Maxime Dénès said:
Regarding 5., it could be interesting to split the
Require
andImport
to measure which one is slow.Thanks. I'll take a look at that.
In very unscientific timings, using Require
on iris easily takes 1-2 second. The cost of Import
is negligible in comparison (tho it is sometimes measurable). What is the cost proportional to?
It's probably loading a lot of stuff in memory. In my profiling the top cause of require slowness is merely OCaml deserialization.
Does it deserialize bodies, or only interfaces?
Everything except Qed bodies gets deserialized IIRC
Right, that's what I should have said.
FTR, I my TODO list regarding memory consumption of Coq there is the careful scrutiny of the kind of stuff we store in the vo.
I think we could save quite a bit by using the same strategy as opaque proofs for VM bytecode for instance.
Last updated: Oct 01 2023 at 18:01 UTC