Skip to content

Improve source file rendering speed #1904

Closed
@Nemo157

Description

@Nemo157

After deploying #1842 we have a few high spikes in the /crate/:name/:version/source/* 90th percentile response time

image

I was able to track down one of these from the access logs, https://docs.rs/crate/opus-sys/0.1.2/source/libopus/Makefile.in took 12.25s till first byte when I loaded it. It's surprisingly slow, https://docs.rs/crate/opus-sys/0.1.2/source/libopus/src/opus_encoder.c took <1s and is a similar size.

I'll try and find some time to look into it soon.

Metadata

Metadata

Assignees

Labels

A-backendArea: Webserver backend

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions