denoland / denoland/deploy_feedback

Aot builds of Fresh on Deploy are significantly slower than Jit

Open
#638 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
79
Forks
5
PR merge metrics
No merged PRs in 30d

Description

[Continuing from Discord](https://discord.com/channels/684898665143206084/991511118524715139/1220294825467842570)
When deploying a project on Deno Deploy that uses Fresh's aot builds (via github actions) the start times are much slower than projects using deploy's automatic deployment feature.

Fresh projects using aot:
![image](https://github.com/denoland/fresh/assets/51055767/04507207-3b5c-49d9-b981-bb11e6f2c045)
![image](https://github.com/denoland/fresh/assets/51055767/32154d88-89c1-4224-a181-df83cc97a050)

Fresh projects not using aot:
![image](https://github.com/denoland/fresh/assets/51055767/b334a64e-170b-4387-84ee-75882c3b9601)
![image](https://github.com/denoland/fresh/assets/51055767/628d1aca-fa0b-4082-bb07-c6eb14f50477)
When one of the non aot projects was updated to the latest build of fresh:
![image](https://github.com/denoland/fresh/assets/51055767/32a78e0a-c6a2-4d01-9f9c-5fcdfcbb8c48)

All aot and the last non aot are using the latest version of fresh

Contributor guide

No contributing guide indexed for this repository

Research direction

The report provides deployment screenshots and mentions Fresh AOT builds, Deno Deploy automatic deployment, and GitHub Actions, but no repository files or tests. Reproduce the two deployment paths and compare startup times; done means identifying the cause of the slower AOT starts and verifying comparable results after the issue is addressed.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
cloud, devops, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.