Skip to content

slow startup time in 1.25.06? #3866

@mikestillman

Description

@mikestillman

This might just be because the documentation hasn't all been built yet, but even so, that seems pretty slow.

development, on a Mac M4, while ninja is still being run to build M2

bash-3.2$ time ./M2 -e "exit 0"
Macaulay2, version 1.25.06-49-g00070ebdbc-dirty (development)
Type "help" to see useful commands

real	0m2.137s
user	0m1.861s
sys	0m1.162s

edit: here is the time in the build tree, after all examples and doc have been built:

bash-3.2$ time ./M2 -e "exit 0"
Macaulay2, version 1.25.06-49-g00070ebdbc-dirty (development)
Type "help" to see useful commands

real	0m1.217s
user	0m0.622s
sys	0m0.395s

homebrew version, same machine (same ninja being run in background too)

bash-3.2$ time M2 -e "exit 0"
Macaulay2, version 1.25.05
Type "help" to see useful commands

real	0m0.652s
user	0m0.463s
sys	0m0.205s

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions