john smith wrote: > > But I got another "performance issue" I need your help again. > > My test app is doing a loop, it seem that every time it loops, it > takes SIGNIFICANT SLOWER than last time, if you look at debug trace, > on the Throughput (Please see attached) > > 1) Throughput : 1.37353082311847E-06 MB /sec > 2) Throughput : 1.47827364610777E-05 MB /sec > 3) Throughput : 0.00014234189339164 MB /sec > 4) Throughput : 0.00142455477006608 MB /sec > 5) Throughput : 0.014406354683313 MB /sec > 6) Throughput : 0.0431200269210705 MB /sec
Actually, this is showing things getting increasingly FASTER over time. Higher throughput means better performance. The log shows that each transfer takes exactly the same amount of time (about 2.7 seconds), but each one transfers ten times as much data as the last (10, then 100, then 1,000, then 10,000, etc). That naturally produces the results you see. So, basically, you aren't measuring what you think you are measuring. For example, it looks like you might have a fixed delay of 2.5 seconds somewhere between your "start" and your "stop". You can't measure throughput if you are blocking in your timing code. -- Tim Roberts, t...@probo.com Providenza & Boekelheide, Inc. ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel