github.com/DARA-Project/GoDist-Scheduler@v0.0.0-20201030134746-668de4acea0d/u-benchmarks/go_vs_dgo/dgo/dgo_calls_test.go (about) 1 package main 2 3 import ( 4 "testing" 5 "runtime" 6 ) 7 8 func BenchmarkDaraOnCheck(b *testing.B) { 9 for i := 0; i < b.N; i++ { 10 runtime.Is_dara_profiling_on() 11 } 12 }