Giter Site home page Giter Site logo

Comments (6)

evoskuil avatar evoskuil commented on September 26, 2024

Hi @ggutoski , could you give me the platform info and how you are measuring CPU usage?

from libbitcoin-explorer.

ggutoski avatar ggutoski commented on September 26, 2024

Platform:
ubuntu 14.04 (running as a guest on VMware Player with Windows 7 host)
Intel Core i7-3520M CPU @ 2.90GHz, 64 bit

I measure CPU usage using System Viewer. (No laughing.) Screenshot below. bx eats up as much CPU as the system will let it---88% in this image.
image

from libbitcoin-explorer.

evoskuil avatar evoskuil commented on September 26, 2024

The level seems high on Windows as well, at about 20% average CPU utilization on my dev machine, about the same as compilation on any given thread in VS 2013.

from libbitcoin-explorer.

pmienk avatar pmienk commented on September 26, 2024

Looking at the code, obelisk_client.poll_until_termination takes a timeout parameter which when not specified (as in watch-address) defaults to 0. Presumably you're seeing a busy-wait behavior due to the default. What would be a 'sane' default?

from libbitcoin-explorer.

evoskuil avatar evoskuil commented on September 26, 2024

Fixed in #155

from libbitcoin-explorer.

evoskuil avatar evoskuil commented on September 26, 2024

Thanks for the bug report @ggutoski and the fix @pmienk!

from libbitcoin-explorer.

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.