All of lore.kernel.org
 help / color / mirror / Atom feed
* [cocci] Very long compile times on parsing_cocci/parser_cocci_menhir.ml
@ 2024-05-02  8:54 Richard W.M. Jones
  2024-05-02  9:01 ` Wolfram Sang
                   ` (2 more replies)
  0 siblings, 3 replies; 26+ messages in thread
From: Richard W.M. Jones @ 2024-05-02  8:54 UTC (permalink / raw)
  To: cocci

OCAMLOPT  parsing_cocci/parser_cocci_menhir.ml

This single file takes a very long time to compile, about 34 minutes
on my 2 year old Intel laptop.  It's quite large too ...

139201 ./coccinelle-1.2/parsing_cocci/parser_cocci_menhir.ml

I've observed in the past that the OCaml compiler doesn't handle
single large files well.  It seems to have some O(n^k) behaviour.

Is this a known issue?

Rich.

coccinelle 1.2 from tarball
ocaml-5.1.1-4.fc40.x86_64
ocaml-menhir-20231231-3.fc40.x86_64

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top


^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2024-05-07  9:56 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-02  8:54 [cocci] Very long compile times on parsing_cocci/parser_cocci_menhir.ml Richard W.M. Jones
2024-05-02  9:01 ` Wolfram Sang
2024-05-02 16:16   ` Richard W.M. Jones
2024-05-02 17:40     ` Wolfram Sang
2024-05-02  9:44 ` Julia Lawall
2024-05-02 16:31   ` Richard W.M. Jones
2024-05-02 16:39     ` Julia Lawall
2024-05-02 16:49       ` Richard W.M. Jones
2024-05-02 17:02         ` Julia Lawall
2024-05-03 12:15           ` Richard W.M. Jones
2024-05-03 13:15             ` [cocci] Influence of build configuration parameter “--enable-flambda” on compilation of OCaml source files Markus Elfring
2024-05-03 15:50             ` [cocci] Very long compile times on parsing_cocci/parser_cocci_menhir.ml Julia Lawall
2024-05-03 16:43               ` Markus Elfring
2024-05-07  9:45               ` Richard W.M. Jones
2024-05-07  9:56                 ` Julia Lawall
2024-05-05  5:25             ` [cocci] Using OCaml compiler variants? Markus Elfring
2024-05-02 17:19         ` [cocci] Very long compile times on parsing_cocci/parser_cocci_menhir.ml Richard W.M. Jones
2024-05-02 17:31           ` Richard W.M. Jones
2024-05-02 21:41             ` Julia Lawall
2024-05-03  7:31               ` Richard W.M. Jones
2024-05-03  8:00                 ` Markus Elfring
2024-05-03 10:24                   ` Richard W.M. Jones
2024-05-03 10:40                     ` [cocci] Analysing software build processes Markus Elfring
2024-05-03 10:59                       ` Richard W.M. Jones
2024-05-03 11:15                         ` Markus Elfring
2024-05-02 10:18 ` [cocci] Checking compilation durations for “parser_cocci_menhir.ml” Markus Elfring

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.