lychee/.github/workflows
Matthias 251332efe2
Cache absolute_path to decrease allocations (#346)
* Cache `absolute_path` to decrease allocations

While profiling local file handling, I noticed that resolving paths was taking a
significant amount of time. It also caused quite a few allocations.
By caching the path and using a constant value for the current
directory, we can reduce the number of allocs by quite a lot.
For example, when testing on the sentry documentation, we do 50,4%
less allocations in total now. That's just a single test-case of course,
but it's probably also helping in many other cases as well.

* Defer to_string for attr.value to reduce allocs
* Use Tendrils instead of Strings for parsing (another ~1.5% less allocs)
* Move option parsing code into separate module
* Handle base dir more correctly
* Temporarily disable dry run
2021-10-05 01:37:43 +02:00
..
docker.yml Don't try to publish Docker image on fork (#332) 2021-09-20 11:13:54 +02:00
links.yml Skip creating issues on forks (#340) 2021-09-20 12:11:31 +02:00
release.yml linting 2021-09-06 15:19:24 +02:00
rust.yml Cache absolute_path to decrease allocations (#346) 2021-10-05 01:37:43 +02:00