Skip to content

Improve HTML generation speed creating a global image cache registry instead of using file system #21

Description

@ccgauche

Currently the exists function that fetches the filesytem takes most of the compute time in get_image_url:image.rs and most of the HTML generation time.

image

A simple and effective fix would be to do the same as with urls and store an HashSet of the image url

Another possible improvement is to use tokio tasks instead of threads.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions