-
Notifications
You must be signed in to change notification settings - Fork 303
Debug
Debugging tools are provided as the default demo build. Help is provided in the Help tab. The default tools allow you to profile and test out different configurations on the CommentCoreLibrary.
在默认的编译环境下,我们提供了一套简单的调试工具。默认的工具允许你简单的进行程序运行时间分析和测试各种不同的播放环境配置。这些工具的使用可以参考相应的帮助标签。
The debugging interface offers direct links to a subset of the provided sample tests. They are meant to cover most of the effects available for Comments with mode < 8.
These set up some runtime filters that can dynamically modify danmaku upon send. Of these one is the profiler. The profiler is implemented as a runtime filter, and since by design CCL only allows one runtime filter, setting another runtime filter will invalidate the profiler.
The profiler is not a strict profile of the framerate. Instead it is representing the load when updating the DOM tree.
The code execution window will evaluate code within the demo's runtime. This will allow you to inspect objects without having to pull out the developer tools.
We have provided some tests in /tests/. While we strive for coverage, these tests are not guaranteed to fully cover every feature case provided. Also since there is more data for Bilibili, there are more tests for that format. Most of the tests are unmodified. When no license is given, please assume the author of the danmaku uses a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.