forgejo/routers/web
Gusted 7d2a7b8559 feat: add validating user password as trace region (#7981)
- Password hashing can take a measurable amount of time, make this more visible in the trace by capturing the computations done in the password hash in their own region.
- Ref: forgejo/forgejo#6470

## Screenshot

![image](/attachments/9834b094-a78f-4ac2-847e-91f221a84833)

The upper part are where the tasks are shown (and nothing else). The bottom part is where the interesting execution tracing happens and the part where the user password hashing happens is now properly indicated/highlighted and does not need to be inferred by looking at the stack traces.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7981
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2025-05-28 14:46:23 +02:00
..
admin feat: relax email requirements (#7829) 2025-05-22 12:20:25 +02:00
auth feat: add validating user password as trace region (#7981) 2025-05-28 14:46:23 +02:00
devtest chore(ui): clean up hashbox CSS, small design changes (#7822) 2025-05-25 12:51:27 +02:00
events chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
explore fix(ui): Improve chronological sorting of user (#7596) 2025-05-02 20:33:57 +02:00
feed Show if commit is signed in activity feed and unify sha box (#6933) 2025-05-03 10:54:52 +00:00
healthcheck chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
misc feat: include a default robots.txt to reduce the impact of crawlers (#7387) 2025-03-30 11:28:19 +00:00
moderation feat!: Abusive content reporting (#6977) 2025-05-18 08:05:16 +00:00
org Restore form inputs on organization create error (#34201) 2025-04-22 09:54:18 +02:00
repo feat(ui): messages for empty usercards (#7947) 2025-05-23 23:34:40 +02:00
shared feat!: Abusive content reporting (#6977) 2025-05-18 08:05:16 +00:00
user feat: add validating user password as trace region (#7981) 2025-05-28 14:46:23 +02:00
base.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
githttp.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
goget.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
home.go ui: improve error pages (#7274) 2025-03-28 19:50:43 +00:00
metrics.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
nodeinfo.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
swagger_json.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
web.go feat!: Abusive content reporting (#6977) 2025-05-18 08:05:16 +00:00
webfinger.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00