Posts: 845
Threads: 3
Joined: Jun 2010
Good job Dan, keep on going! Did you've done your tests on a Windows or a Linux machine?
I think I'll have to refactor most of the threading code in BlueG's/my plugin.
Quote:
Originally Posted by ******
Even just replacing the Mutex with a Critical Section will make a huge difference.
|
True story, already did that in BlueG's plugin (but currently not pushed to SVN). Critical Sections are almost 100 times faster than Mutexes, but unfortunately this speed improvement works only on Windows.
Posts: 2,938
Threads: 162
Joined: May 2010
Quote:
Originally Posted by Dan..
I continued working on this plugin and this are the results I achieved:
Code:
Dan - 12178 ms
BlueG - 53357 ms
So, my plugin is 438% faster (previously it was just 200%).
I'll upload the source on GitHub soon.
|
stop comparing for now, wait till the new version
you're not the only one with major improvements.
Posts: 2,262
Threads: 260
Joined: Mar 2009
Reputation:
0
I'm fed up of the speed updates, seriously...
Rather than trying to win in the competition why not concentrate on features and getting it compiled properly without issues etc?!
Posts: 2,938
Threads: 162
Joined: May 2010
lol it's for the fun of it
if you don't like the speed tests ignore them..
continue to do what you do Dan..
Posts: 3,239
Threads: 76
Joined: Mar 2012
Reputation:
0
Good job. Ignore the enemies who complain of milliseconds and tests
+rep
Posts: 368
Threads: 24
Joined: Feb 2012
Good job with the speed! I would try this if i didnt have to convert everything (all using cache exept update and insert queries) mysql related in my gm.
Posts: 966
Threads: 5
Joined: Jul 2011
Reputation:
0
Indeed, tons of fun can be had with optimizing and writing fast code, but I assume that at one point, the direct speed comparisons no longer deserve a purpose. You've written a very decent piece of software here though and I'm glad to see the PostgreSQL support!
(About the speed stuff also... I've made a heavily downsized version myself which performs about 10 times faster than the R19/R20 version of BlueG's.)
Posts: 918
Threads: 125
Joined: Nov 2010
So if I am right, this uses the same functions as Blue_G's?
Also can someone compile the newest version for me?
Thanks
Posts: 845
Threads: 3
Joined: Jun 2010
You should use the -m32 flag also while linking, not only while compiling.
Posts: 1,831
Threads: 69
Joined: Mar 2008
Reputation:
0
Thanks Dan and Pain123, downloading the libraries and adding -m32 to the linking fixed it.