- Subject: [slang-users] Slang 2.x is slow compared to 1.x
- From: Fatih Ulupinar <diskapi2@xxxxxxxxx>
- Date: Tue, 16 May 2017 12:13:29 -0700
I recently upgraded to slang 2.3.1a from slang 1.4 (I know really old).
Unfortunately after the upgrade, the performance has decreased by more than
100 times.
I tried a simple for loop code to test the performance:
variable i;
variable start = _time();
for (i = 0; i < 10000000; i++){}
printf("It took : %d seconds\n", _time() - start);
On version 1.4, I get:
It took : 1 seconds
On version 2.3.1a, I get:
It took : 343 seconds
Am I doing something wrong? Is there like a special compile option to
enable optimization. I noticed that the 2.3.1a code is compiled with -O2
optimization.
Did anyone experience this type of slowdown?
I appreciate any help.
Thanks
[2017 date index]
[2017 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]