Git Product home page Git Product logo

Comments (3)

mikaelpatel avatar mikaelpatel commented on August 16, 2024

Please see commit 90d9441. Note that only build testing has been performed.

from arduino-scheduler.

malachib avatar malachib commented on August 16, 2024

Tests performed on Sparkfun SAMD21G mini breakout:

SchedulerBenchmark: started

  1. Initiate scheduler and main task: 2 us
  2. Yield main task: 2.60 us
  3. Start a task: 6 us
  4. Yield between two tasks: 5.65 us
  5. Delay 10 ms and check increments: 9128:1608, 5.68 us
  6. Start 25 tasks: 96:25, 3.84 us
  7. Yield and check increments: 74:26, 2.85 us
  8. Delay 10 ms and check increments: 9199:2912, 3.16 us

SchedulerBenchmarkQueue: started
3950:loop::count=101188, us=9.88
4950:loop::count=101152, us=9.89
5950:loop::count=101147, us=9.89
6950:loop::count=101152, us=9.89
7950:loop::count=101153, us=9.89
8950:loop::count=101145, us=9.89
9950:loop::count=101146, us=9.89
10950:loop::count=101157, us=9.89
11950:loop::count=101153, us=9.89
12950:loop::count=101151, us=9.89
13950:loop::count=101153, us=9.89
14950:loop::count=101146, us=9.89
15950:loop::count=101151, us=9.89
16950:loop::count=101147, us=9.89
17950:loop::count=101150, us=9.89
18950:loop::count=101145, us=9.89

Also tested "SchedulerEvent" example and seems OK.

Note I had to modify examples to use SerialUSB instead of Serial, as is typical for SAMD boards according to what I read. If you like I can generate a pull request with the mods for those 3 examples

from arduino-scheduler.

mikaelpatel avatar mikaelpatel commented on August 16, 2024

Thanks! Updated the README with the results.

from arduino-scheduler.

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.