context.done()


请求在当前测量的样本之后完成基准测试。回调仍然必须调用 start() 和 end(),或者 record()。在预热调用期间调用 done() 是错误的。如果 done() 没有被调用,配置的 samples 值仍然是最大测量调用次数。

🌐 Requests successful benchmark completion after the current measured sample. The callback must still call either start() and end(), or record(). Calling done() during a warmup invocation is an error. The configured samples value remains the maximum number of measured invocations if done() is not called.