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

Graphing? #37

Open
luckman212 opened this issue Sep 22, 2020 · 3 comments
Open

Graphing? #37

luckman212 opened this issue Sep 22, 2020 · 3 comments

Comments

@luckman212
Copy link

luckman212 commented Sep 22, 2020

Thanks @ndfred for making this! It's the only usable iperf3 app in the entire App Store.

I was wondering if you'd considered a simple line graph to visualize the change over time as you walk around and test speeds from different areas?

I looked at every Objective-C charting library listed at ameizi/awesome-ios-chart and selected the 3 that were most recently updated and have the most stars, as some potential candidates:

JunyiXie/XJYChart
AAChartModel/AAChartKit
ZhipingYang/XYChart

@ndfred
Copy link
Owner

ndfred commented Nov 14, 2020

I would love to get some sort of visualization in, though I am not sure if a graph is the right thing as you don't really care about performance over time so much as some sort of scatter plot of where the bulk of you performance is. I've done some super basic updating mean visualization, but this would be better. If I can get some time to work on it, I'll try and get that in!

On the graphing libraries suggestions, I would like to try and keep the app as small as possible, with as little UI overhead so the test can be super accurate. A simple custom CoreGraphics layer with a callback for every frame is really what I would have in mind, that will then easily be optimized.

@luckman212
Copy link
Author

@ndfred Thank you for that. I'm not sure I agree about the scatter plot vs. a linear graph. When I use iperf, often I'm walking around to different areas and want to see the effect of changing locations/channels/power levels in realtime. In a scatter plot, you can see the distribution but it's impossible to correlate a point in time with the performance level.

@ndfred
Copy link
Owner

ndfred commented Nov 14, 2020

That is true as well, I'll need to play with both options and see. Another concern is the performance overhead of a full graphing solution, as I would assume these are mostly meant to be static rather than dynamic.

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

No branches or pull requests

2 participants