]> source.dussan.org Git - gitea.git/commit
Add simple JS init performance trace (#31459)
authorwxiaoguang <wxiaoguang@gmail.com>
Sat, 22 Jun 2024 09:20:20 +0000 (17:20 +0800)
committerGitHub <noreply@github.com>
Sat, 22 Jun 2024 09:20:20 +0000 (17:20 +0800)
commit1d76e9aabfcbc220c83ba343e2227df042959ab6
tree756b622a019ac5d1d51d6e950efb555fea20929d
parent1a811c0bd10723ada73eb1c48a28cbc0775c6749
Add simple JS init performance trace (#31459)

Related to #23461, and help some cases like #31412

For developers, they could use browser's Performance tool to collect
performance data, while this PR is also quite handy to optimize the
`index.js`.

For end users, this PR is simple enough and could figure out the slow
function quickly.

![image](https://github.com/go-gitea/gitea/assets/2114189/a557b08e-6594-474b-81a3-03d5ac2bd68e)
web_src/js/index.js