Giter Club home page Giter Club logo

Comments (2)

cgreening avatar cgreening commented on August 13, 2024

Could be one of two things.

The most likely will be the build flags that are being used. In my code I used the -Ofast flag which compiles with all the optimisations turned on and also has slightly less accurate maths - see here for the different options - https://gcc.gnu.org/onlinedocs/gcc-4.1.0/gcc/Optimize-Options.html

You may be building in debug mode or with less aggressive optimisations - it's most likely that you are building in debug mode as I think that might be the default (though I'm not sure).

The other possibility is the core you are running on - I think I pinned the recognition task to one of the CPU cores so that it didn't run on the same core as the WiFi and the audio sampling - but I don't think it made a dramatic difference.

from diy-alexa.

WifWaf avatar WifWaf commented on August 13, 2024

Unfortunately, so far, the build flags have made little difference (nor pining the task/raising priority) - though I had actually set it compile for size optimisation and forgot...

No doubt I'm missing something somewhere else too; I'll have a better read over the build flags tomorrow.

Much appreciate the help (I'll close the issue :)).

from diy-alexa.

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.