mirror of
https://gitee.com/johng/gf
synced 2026-06-07 02:12:11 +08:00
18 lines
385 B
Go
18 lines
385 B
Go
// Copyright GoFrame Author(https://github.com/gogf/gf). All Rights Reserved.
|
|
//
|
|
// This Source Code Form is subject to the terms of the MIT License.
|
|
// If a copy of the MIT was not distributed with this file,
|
|
// You can obtain one at https://github.com/gogf/gf.
|
|
|
|
package gerror
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func Benchmark_Stack(b *testing.B) {
|
|
for i := 0; i < b.N; i++ {
|
|
callers()
|
|
}
|
|
}
|