Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- beforeTime = getTimer();
- for (i = REPS + 1; --i; ) {
- Tests.A();Tests.A();Tests.A();Tests.A();
- Tests.A();Tests.A();Tests.A();Tests.A();
- Tests.A();Tests.A();Tests.A();Tests.A();
- Tests.A();Tests.A();Tests.A();Tests.A();
- Tests.A();Tests.A();Tests.A();Tests.A();
- }
- afterTime = getTimer();
- log(format(afterTime-beforeTime));
- beforeTime = getTimer();
- for (i = REPS + 1; --i; ) {
- new Array(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);new Array(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);new Array(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);new Array(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);
- new Array(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);new Array(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);new Array(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);new Array(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);
- new Array(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);new Array(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);new Array(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);new Array(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);
- new Array(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);new Array(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);new Array(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);new Array(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);
- new Array(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);new Array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,1,1,1,1,1,1,1);Arr(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);
- }
- afterTime = getTimer();
- log(format(afterTime-beforeTime));
- beforeTime = getTimer();
- for (i = REPS + 1; --i; ) {
- arr(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);arr(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);arr(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);arr(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);
- arr(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);arr(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);arr(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);arr(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);
- arr(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);arr(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);arr(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);arr(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);
- arr(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);arr(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);arr(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);arr(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);
- arr(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);arr(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);arr(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);arr(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);
- }
- afterTime = getTimer();
- log(format(afterTime-beforeTime));
- import apparat.inline.*;
- import apparat.asm.*;
- internal class Tests extends Macro {
- public static function A():void {
- __asm(
- PushInt(1),PushInt(1),PushInt(1),PushInt(1),PushInt(1),PushInt(1),PushInt(1),PushInt(1),PushInt(1),PushInt(1),
- PushInt(1),PushInt(1),PushInt(1),PushInt(1),PushInt(1),PushInt(1),PushInt(1),PushInt(1),PushInt(1),PushInt(1),
- NewArray(20),Pop
- );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement