console.profileEnd([label])


    除非在检查器中使用,否则此方法不会显示任何内容。 如果已启动,则停止当前的 JavaScript CPU 分析会话并将报告打印到检查器的配置文件面板。 有关示例,请参见 console.profile()

    This method does not display anything unless used in the inspector. Stops the current JavaScript CPU profiling session if one has been started and prints the report to the Profiles panel of the inspector. See console.profile() for an example.

    If this method is called without a label, the most recently started profile is stopped.