Usually there's the single asserter contributor in...
# stdlib
i
Usually there's the single asserter contributor in that list and its
contribute
method just returns a singleton asserter instance:
Copy code
internal actual fun lookupAsserter(): Asserter {
    for (contributor in contributors) {
        val asserter = contributor.contribute()
        if (asserter != null) return asserter
    }
    return DefaultAsserter
}
Have you tried profiling to determine what takes the most time?
p
Thanks for reply! I had found the cause, it was power-assert plugin generated heavy messages.
i
Yes, we know about this issue with power assert and are thinking about assertion overloads that would allow to construct the message lazily.
thank you color 1