Skip to content

Autoload OpenSSL #3186

@thdaraujo

Description

@thdaraujo

@stefannibrasil and I did some profiling and found that by autoloading OpenSSL, we could improve Faker's loading time by about 17%. A lot of the time is spent on set_default_paths.

Given that OpenSSL is only used in a very limited way and only by 3 generators, this would speed up the library for most users.

(Related to #3157 and #2719 )

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions