Skip to content

do not load pkg_resources on startup #11730

@saraedum

Description

@saraedum

The attached patch removes pkg_resources from being loaded on sage startup:

$ ./sage --startuptime|grep pkg_resources
                  pkg_resources: 0.029

The patch improves the situation from

$ dumbbench -- ./sage --startuptime
Ran 22 iterations (2 outliers).
Rounded run time per iteration: 9.433e-01 +/- 7.2e-03 (0.8%)

to

$ dumbbench -- ./sage --startuptime
Ran 23 iterations (3 outliers).
Rounded run time per iteration: 8.903e-01 +/- 8.3e-03 (0.9%)

Component: notebook

Keywords: sd32

Author: Julian Rueth

Issue created by migration from https://trac.sagemath.org/ticket/11730

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions