Comments (3)
Please see commit 90d9441. Note that only build testing has been performed.
from arduino-scheduler.
Tests performed on Sparkfun SAMD21G mini breakout:
SchedulerBenchmark: started
- Initiate scheduler and main task: 2 us
- Yield main task: 2.60 us
- Start a task: 6 us
- Yield between two tasks: 5.65 us
- Delay 10 ms and check increments: 9128:1608, 5.68 us
- Start 25 tasks: 96:25, 3.84 us
- Yield and check increments: 74:26, 2.85 us
- 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.
Thanks! Updated the README with the results.
from arduino-scheduler.
Related Issues (20)
- Fix: Adjust STACK_MAX for Teensy boards HOT 1
- Issue with default stack size HOT 33
- Increase main task default stack size HOT 1
- Add documentation about how to adjust task stack size
- Use STACK_MARGIN on Teensy
- Arduino Micro (and Leonardo?) software reset broken (and fix) HOT 4
- Extension to isolated non-looping tasks ? HOT 4
- If the loop() function is empty, the other scheduled loop functions never execute. HOT 2
- Passing arguments to function HOT 2
- Rocketscream Low Power Sleep example HOT 1
- ArduinoLowPower Sleep is not working with Scheduler HOT 4
- Name in library.properties conflicts with Arduino Scheduler library. HOT 1
- Support for STM32F1 boards HOT 1
- Feature request: MCU sleep, when all tasks in delay() HOT 7
- Missing coloring of main task stack
- not an issue : just ported on XMOS HOT 1
- Teensy 4.0 support
- Add comment on origin of magic number for stack coloring
- Cannot run a second task HOT 1
- thread safe sleep() HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino-scheduler.