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

Benchmark #36

Open
texrg opened this issue Jan 18, 2017 · 5 comments
Open

Benchmark #36

texrg opened this issue Jan 18, 2017 · 5 comments

Comments

@texrg
Copy link

texrg commented Jan 18, 2017

Is any benchmark for this language?
Is possible to create benchmark in integer?

@rafaelcn
Copy link
Collaborator

rafaelcn commented Jan 19, 2017

Regarding your first question, it doesn't have one. And what do you mean by benchmarking in integer? I would say it is fast as C because of its compiler (not because it is just a JIT compiler), but I will call @luizperes who has a better compiler background to assure or correct what I said.

@luizperes
Copy link
Member

luizperes commented Jan 19, 2017

Hi @texrg, thanks for the question. As @rafaelcn has mentioned, we do not have any benchmarks for Brain and I do not think that we should create one now, once we have not implemented all optimizations for the compiler. That would be good, though, considering comparisons on papers later on. Feel free to create one if you're interested. Other than that, as we're using LLVM, I guess that @rafaelcn is about right, that would take approximately as much as the Clang does (however we must consider multiple instructions for big numbers, so that might impact on the whole thing. Thanks!

@texrg
Copy link
Author

texrg commented Jan 21, 2017

I'm thinking about simple testing and chech it with all time.
for example loading library, read file etc.
$ time ./brain file_example

Some loops in loops. Mandelbrot or Count prime numbers.
Look this http://www.timestretch.com/article/mandelbrot_fractal_benchmark
Maybe some smallest for first benchmark but this is idea.

@luizperes
Copy link
Member

That's great! I received your email, but I'm very busy this weekend because I'm at work and will answer your when I get home!

@luizperes
Copy link
Member

Any news @texrg?

@rafaelcn rafaelcn removed the Question label Oct 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants