MCPcopy Create free account
hub / github.com/dop251/goja / BenchmarkToString2

Function BenchmarkToString2

object_test.go:611–617  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

609}
610
611func BenchmarkToString2(b *testing.B) {
612 v := asciiString("test")
613
614 for i := 0; i < b.N; i++ {
615 __toString(v)
616 }
617}
618
619func BenchmarkConv(b *testing.B) {
620 count := int64(0)

Callers

nothing calls this directly

Calls 2

asciiStringTypeAlias · 0.85
__toStringFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…