gitea/routers/web
zeripath ef4fc30246
Speed up HasUserStopwatch & GetActiveStopwatch (#23051)
GetActiveStopwatch & HasUserStopwatch is a hot piece of code that is
repeatedly called and on examination of the cpu profile for TestGit it
represents 0.44 seconds of CPU time. This PR reduces this time to 80ms.

---------

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: delvh <leon@kske.dev>
2023-02-27 13:46:00 -05:00
..
admin Show empty repos in Admin Repository Management page (#23114) 2023-02-24 19:11:31 +00:00
auth Provide the ability to set password hash algorithm parameters (#22942) 2023-02-19 15:35:20 +08:00
events
explore Remove useless comment in #23114 (#23173) 2023-02-27 13:24:33 +01:00
feed Add pagination for dashboard and user activity feeds (#22937) 2023-02-24 16:15:10 -05:00
healthcheck
misc
org Scoped labels (#22585) 2023-02-18 21:17:39 +02:00
repo Speed up HasUserStopwatch & GetActiveStopwatch (#23051) 2023-02-27 13:46:00 -05:00
shared Add Cargo package registry (#21888) 2023-02-05 18:12:31 +08:00
user Add "Reviewed by you" filter for pull requests (#22927) 2023-02-24 21:55:50 -05:00
auth_windows.go
auth.go
base.go
goget.go
home.go
metrics.go
nodeinfo.go
swagger_json.go
web.go Require approval to run actions for fork pull request (#22803) 2023-02-24 15:58:49 +08:00
webfinger.go Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00