john smith wrote: > Regarding your questions "Who is going to reap the completed URB?" > I do have a seperated thread (LoopEvent), in a loop, > call libusb_handle_events_timeout_completed every 100ms.
Why are you using such a short timeout? It generates overhead. > 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 > > Could you please tell me what problem you see here? Do you reset the starting time on each run? //Peter ------------------------------------------------------------------------------ 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