config icon indicating copy to clipboard operation
config copied to clipboard

Parsers performance

Open 8ctopus opened this issue 2 years ago • 2 comments
trafficstars

First of all thank you for creating such a great package, I'm coming from DotEnv and I really enjoy what you have built.

I have played with the different parsers and have realized that there is a significant drop in performance with configurations in the Yaml format. It may be worth mentioning it in the README. If you agree, I will create a pull request.

Load configuration was 1ms in both json and php while the same configuration was 5ms with yaml.

8ctopus avatar Jun 03 '23 12:06 8ctopus

Hi @8ctopus . Thanks for your feedback. Maybe it would be worth to add a table with a complete benchmark for all the different parsers. What do you think?

DavidePastore avatar Oct 30 '23 18:10 DavidePastore

I would just add a single paragraph about parsers performance not to make the readme much longer.

8ctopus avatar Oct 31 '23 06:10 8ctopus