⚡ Improve document tree expansion and database loading performance https://github.com/siyuan-note/siyuan/issues/12428
This commit is contained in:
parent
d131965636
commit
3632718839
1 changed files with 0 additions and 6 deletions
|
@ -252,12 +252,6 @@ func ListDocTree(boxID, listPath string, sortMode int, flashcard, showHidden boo
|
|||
//pprof.StartCPUProfile(cpuProfile)
|
||||
//defer pprof.StopCPUProfile()
|
||||
|
||||
start1 := time.Now()
|
||||
defer func() {
|
||||
elapsed := time.Now().Sub(start1).Milliseconds()
|
||||
logging.LogInfof("list doc tree elapsed [%dms]", elapsed)
|
||||
}()
|
||||
|
||||
ret = []*File{}
|
||||
|
||||
var deck *riff.Deck
|
||||
|
|
Loading…
Add table
Reference in a new issue