必须使用 performance 对象作为接收者调用此方法。
performance
新增于: v18.8.0
将全局性能资源定时缓冲区大小设置为指定数量的 "resource" 类型性能条目对象。
¥Sets the global performance resource timing buffer size to the specified number of "resource" type performance entry objects.
默认情况下,最大缓冲区大小设置为 250。
¥By default the max buffer size is set to 250.