Re: [Speed] Threading benchmark

2017-08-12 Thread Antoine Pitrou
On Sat, 12 Aug 2017 06:10:00 +0530 Bhavishya wrote: > I just ran a bm > > that does this number_crunching task(serially), and results are-> > [...] > > So what're your thoughts? Before

Re: [Speed] Threading benchmark

2017-08-11 Thread Bhavishya
I just ran a bm that does this number_crunching task(serially), and results are-> py2: number_crunching: Mean +- std dev: 35.9 ms +- 1.0 ms py3: number_crunching: Mean +- std dev: 64.1 ms +- 4.1 ms And after turning *x

Re: [Speed] Threading benchmark

2017-08-10 Thread Victor Stinner
I don't understand what you are trying to test. For example, for a lock, it's very different if a single thread uses the lock, or if two threads use the lock. None of your benchmarks seem to measure concurrency. Victor 2017-08-11 0:33 GMT+02:00 Bhavishya : > Hello, > >