Code Monkey home page Code Monkey logo

Comments (4)

zacyu avatar zacyu commented on May 22, 2024

我认为 CPU 占用的增加可能和新换用的描边方式有关. 我在下一个版本中会加入弹幕阴影/描边方式的选择.

from bilibili-helper-o.

jabbany avatar jabbany commented on May 22, 2024

感兴趣的话CCL有一个dev-cssonly分支采用css动画代替dom动画。在chrome上和移动端似乎有显著的速度优势(弹幕移动会平滑很多,CPU占用也会降低很多)缺点是兼容性不好加上在没有硬件加速的情况下会比dom操作更坑,因此不在主分支上。

from bilibili-helper-o.

zacyu avatar zacyu commented on May 22, 2024

@jabbany 谢谢指出, 我之后有时间去测试一下.

from bilibili-helper-o.

zacyu avatar zacyu commented on May 22, 2024

Obsolete now. Closing.

from bilibili-helper-o.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.