Git Product home page Git Product logo

strangenet's People

Contributors

aidanbh avatar dependabot[bot] avatar jwdinius avatar penguinsnail avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

strangenet's Issues

Use newer version of digi-xbee to fix performance issue

The digi-xbee library on pip was last released April 2018. This code leaks StreamHandlers which results in logging messages being duplicated. I believe this is the source of an issue which causes CPU usage to massively spike when a lot of packets are queued for transmit, creating a large interval between bursts of serial Tx/Rx during which the screens is filled with logged byte messages. A few weeks ago, digidotcom/xbee-python#57 was discussed at digi upstream which revealed that a patch (digidotcom/xbee-python@dad8aae) came out in August that fixed this, but one one ever uploaded to pip. So we'll need to pull from git.

When I get home today I'll update the Pipfile and test it out.

Since it is already quite wasteful to log every packet sent/recd (doubling xfer times, bc TUN and stdout together are just two file descriptors instead of one), I'm going to go ahead and turn it off entirely. It would be nice if they had a way to disable their logs while still letting me use whatever log levels I want in my code, but their response (digidotcom/xbee-python#61) was to call logging.disable(). I'll dig around and see if there's another way.

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.