Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Executions speed decreased #202

Open
GoogleCodeExporter opened this issue Oct 14, 2015 · 1 comment
Open

Executions speed decreased #202

GoogleCodeExporter opened this issue Oct 14, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

same computer, same compilation flags.

1. create test.c file with the content below:
int i;
for(i=0;i<100000;i++)
    { printf("%i\n",i); }

2.
v2.1: time ./picoc -s test.c
real    0m1.301s
user    0m0.425s
sys 0m0.308s

v2.2 beta r608M: time ./picoc -s test.c
real    0m2.128s
user    0m1.458s
sys 0m0.315s

$ uname -a
Linux wurlde-Core2 3.16.0-30-generic #40-Ubuntu SMP Mon Jan 12 22:06:37 UTC 
2015 x86_64 x86_64 x86_64 GNU/Linux

Original issue reported on code.google.com by [email protected] on 10 Feb 2015 at 11:12

@GoogleCodeExporter
Copy link
Author

shell script (bash) performance (faster than 2.2beta):
real    0m1.734s
user    0m1.027s
sys 0m0.362s

the script:
#!/bin/bash
for ((i=0;i<100000;++i)); do echo $i; done

Original comment by [email protected] on 10 Feb 2015 at 11:16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant