Giter VIP home page Giter VIP logo

Comments (3)

reduzent avatar reduzent commented on September 27, 2024

Yeah, the high cpu load doesn't come from the OSC formatting nor from the network transport, but from [netpd-bus-order] in [i2mx]. Unfortunately, it does its job for all of the messages of the instrument, including the audio data, which ideally shouldn't be handled by [netpd-bus-order] at all.

from netpd-instruments.

reduzent avatar reduzent commented on September 27, 2024

[netpd-bus-order] now compares only the first 8 elements when doing list comparisons, which saves a lot of CPU cycles with large messages such as those generated by evil and evilst.

from netpd-instruments.

reduzent avatar reduzent commented on September 27, 2024

Turns out there is another optimization that saves a lot of CPU cycles when using evil and evilst: [netpd-funnel] uses [fudiformat] and [fudiparse] internally, so that [netpd-fifo] works for any kind of message. [fudiformat] seems to be quite slow, so it should be avoided when not needed. Since we're using [netpd-funnel] for byte lists only, there is no need to serialize data with [fudiformat].

from netpd-instruments.

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.