Giter Site home page Giter Site logo

Large Delay about cs2_webradar HOT 4 CLOSED

clauadv avatar clauadv commented on June 15, 2024
Large Delay

from cs2_webradar.

Comments (4)

clauadv avatar clauadv commented on June 15, 2024

can you make a small video? i dont remember having any delay at all

from cs2_webradar.

huntergregal avatar huntergregal commented on June 15, 2024

tbh with you - I converted that back end into DMA reads over an fpga and am tunneling the react frontend over ssh to a public server for sharing. and running on a pi. Also using https and wss for the sockets. but neither are the delay culprit

but the DMA shouldn't be the issue nor the SSH tunnel - i run another DMA (java based) radar that has no delay at all. same hardware as well

from cs2_webradar.

clauadv avatar clauadv commented on June 15, 2024

no idea. reading from usermode works fine, i was using a kernel driver to read and that works fine aswell with a 1-5ms max. try to debug

from cs2_webradar.

huntergregal avatar huntergregal commented on June 15, 2024

I think there's too many unnecessary reads happening in the usermode/features->run() loop.

For example: m_global_vars->get() should probably only be called once and set globally.

ill try to trim it down outside my work hours

from cs2_webradar.

Related Issues (16)

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.