Skip to content

Commit

Permalink
🔖 发布 v1.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed Mar 11, 2020
1 parent 48e861c commit ff26488
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pprof/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,7 @@ func main() {
cpuProfile, _ := os.Create("pprof/cpu_profile")
pprof.StartCPUProfile(cpuProfile)
for i := 0; i < 1024; i++ {
_, err := luteEngine.Markdown("pprof "+spec, bytes)
if nil != err {
panic(err)
}
luteEngine.Markdown("pprof "+spec, bytes)
}
pprof.StopCPUProfile()
}

0 comments on commit ff26488

Please sign in to comment.