[Include] B-Dial - Fast Dialog Response Processor
#19

Quote:
Originally Posted by ******
Посмотреть сообщение
That benchmarking code, despite your claims to the contrary, is NOT valid. You are comparing 1000001 dialogs (yes, not 1000000, you don't even know how many tests you're running) to 1 dialog - of COURSE your system will be faster! "CallLocalFunction" does NOT call functions INSTANTLY - nothing happens INSTANTLY, it just happens very quickly because there is only a couple of public functions to search through! If you wanted a true VALID test, you would have to make 1000001 "DIAL" callbacks, put them all in your mode, compile, then run that test to see the difference. Check the benchmarking code I used to test y_commands. I wrote a file with about 676 command skeletons, then used macros to repeatedly call that file - once generating y_commands code, once generating ZCMD code and once generating strval code. This way I KNEW that all the systems had the same test parameters and I could go experimenting from there. Make sure you also choose a good sample of dialogs to test call - there's no point always calling the first one or the last one, you need to call a large number well distributed through the available IDs for EVERY test.

As it is this is complete rubbish!
Ok I got what you've posted.
I'll create myself thousands of callbacks/checks in a file and paste it in the benchmark script to create a proper benshmark test. I'll post the results and scripts of the if else, switch, B-DIAL, FDLG etc. benchmark tests
Reply


Messages In This Thread
B-Dial - Fast Dialog Response Processor - by BigETI - 04.11.2011, 01:07
Re: B-Dial - Fast Dialog Response Processor - by Norn - 04.11.2011, 02:24
Re: B-Dial - Fast Dialog Response Processor - by System64 - 04.11.2011, 07:40
Re: B-Dial - Fast Dialog Response Processor - by EvgeN 1137 - 04.11.2011, 07:50
Re: B-Dial - Fast Dialog Response Processor - by vampirmd - 04.11.2011, 08:19
AW: B-Dial - Fast Dialog Response Processor - by BigETI - 04.11.2011, 08:57
Re: B-Dial - Fast Dialog Response Processor - by juraska - 04.11.2011, 09:35
Re: B-Dial - Fast Dialog Response Processor - by [LaTinb0y]...$ag3R - 04.11.2011, 09:35
Re: B-Dial - Fast Dialog Response Processor - by wups - 04.11.2011, 10:32
AW: Re: B-Dial - Fast Dialog Response Processor - by BigETI - 04.11.2011, 10:37
Re: AW: Re: B-Dial - Fast Dialog Response Processor - by wups - 04.11.2011, 10:41
B-Dial - Fast Dialog Response Processor - by BigETI - 04.11.2011, 10:56
Re: B-Dial - Fast Dialog Response Processor - by wups - 04.11.2011, 10:59
AW: B-Dial - Fast Dialog Response Processor - by BigETI - 04.11.2011, 11:12
Re: B-Dial - Fast Dialog Response Processor - by Gamer_Z - 04.11.2011, 11:35
Re: B-Dial - Fast Dialog Response Processor - by BaubaS - 04.11.2011, 11:42
Re: B-Dial - Fast Dialog Response Processor - by TheArcher - 04.11.2011, 12:53
Re: B-Dial - Fast Dialog Response Processor - by Jochemd - 04.11.2011, 14:26
AW: Re: B-Dial - Fast Dialog Response Processor - by BigETI - 04.11.2011, 14:59
Re: B-Dial - Fast Dialog Response Processor - by iGear Track - 04.11.2011, 15:02
AW: B-Dial - Fast Dialog Response Processor - by BigETI - 04.11.2011, 16:38
Re: B-Dial - Fast Dialog Response Processor - by wups - 04.11.2011, 17:37
Re: B-Dial - Fast Dialog Response Processor - by Gamer_Z - 05.11.2011, 13:01
B-Dial - Fast Dialog Response Processor - by BigETI - 05.11.2011, 16:24
Re: B-Dial - Fast Dialog Response Processor - by Lookin - 05.11.2011, 17:27
Re: B-Dial - Fast Dialog Response Processor - by Gamer_Z - 05.11.2011, 17:28
Re: B-Dial - Fast Dialog Response Processor - by Anthony © - 15.10.2012, 20:56
Re: B-Dial - Fast Dialog Response Processor - by jpeg - 15.10.2012, 21:38

Forum Jump:


Users browsing this thread: 1 Guest(s)