Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FastLED - Need documented profiling results for common setups. #970

Open
afaucher opened this issue Feb 13, 2020 · 1 comment
Open

FastLED - Need documented profiling results for common setups. #970

afaucher opened this issue Feb 13, 2020 · 1 comment

Comments

@afaucher
Copy link

@afaucher afaucher commented Feb 13, 2020

What happened to me
I was working on a project for reading incoming IR data (PWM) and updating LEDs based on the data received (laser tag :) ). My first attempt to do so just had the LEDs update every few thousand cycles on my Arduino. I would recompute their state and just call FastLED.show(). I noticed however that the timing was severely impacted by the call to FastLED.show() as I was also polling the IR data in the same loop. I was able to resolve this by just updating LEDs on state change but in the process I did some research and I realized I didn't see any measurements or profiling of FastLEDs in the documentation.

My setup was:
8 NEOPIXEL 5050 LEDs ( I wanted to go to a much longer string of 40ish )
Arduino Duemilanove (Slow :) )

What I think FastLED should have
I would love to see a documented profiling for FastLED that looks at common protocols on different devices and tries to measure performance. Above I was less concerned that it was slow and more concerned that I didn't have an expectation about how slow and what might improve it.

A user of FastLED should be able to answer:

  • What performance can I expect on my setup?
  • What types of setups give better performance?
  • Is my performance expected?
  • What type of setup might give me the performance I need?
  • What are best practices for using FastLED for different use cases? (ex: driving lots of LEDs, driving leds and other time critical operations, etc)
@afaucher

This comment has been minimized.

Copy link
Author

@afaucher afaucher commented Feb 13, 2020

I just found this which is in the direction of what I was looking for:

https://github.com/FastLED/FastLED/wiki/Interrupt-problems

It is more 'you already have this problem' focused and less best practice / recommendation focused.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.