leshiv / multi-language-bench Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/multi-language-bench
Automatically exported from code.google.com/p/multi-language-bench
Hi, the havlak/go fails in my 32 bits (Intel(R) Core(TM)2 Extreme CPU Q9300 @
2.53GHz). The following is the output with error.
Cheers. Dorival
Welcome to LoopTesterApp, Go edition
Constructing Simple CFG...
15000 dummy loops
Constructing CFG...
Performing Loop Recognition
1 Iteration
Another 50 iterations...
.....runtime: memory allocated by OS not in usable range
throw: out of memory
runtime.throw+0x43 /home/dorival/pkg/go/src/pkg/runtime/runtime.c:102
runtime.throw(0x80f80a8, 0x20)
runtime.MCache_Alloc+0x8f /home/dorival/pkg/go/src/pkg/runtime/mcache.c:26
runtime.MCache_Alloc(0x87793000, 0x4, 0x30, 0x1, 0xb0e42160, ...)
runtime.mallocgc+0xe1 /home/dorival/pkg/go/src/pkg/runtime/malloc.c:47
runtime.mallocgc(0x30, 0x0, 0x1, 0x1, 0x87793048, ...)
runtime.mal+0x43 /home/dorival/pkg/go/src/pkg/runtime/malloc.c:289
runtime.mal(0x30, 0x50)
hash_subtable_new+0x72 /home/dorival/pkg/go/src/pkg/runtime/hashmap.c:98
hash_subtable_new(0xb7752f00, 0x1, 0x0, 0x877538e4)
hash_init+0xfc /home/dorival/pkg/go/src/pkg/runtime/hashmap.c:155
hash_init(0xb7752f00, 0x8, 0x805631f, 0x80564c4, 0x804c9f7, ...)
runtime.makemap_c+0x16a /home/dorival/pkg/go/src/pkg/runtime/hashmap.c:735
runtime.makemap_c(0x8088bd4, 0x8088a9c, 0x0, 0x0)
runtime.makemap+0x41 /home/dorival/pkg/go/src/pkg/runtime/hashmap.c:775
runtime.makemap(0x8088bd4, 0x8088a9c, 0x0, 0x0, 0xb7752eb0, ...)
/home/dorival/pkg/multi-language-bench-read-only/src/havlak/go/havlakloopfinder.
FindLoops+0x2d4
/home/dorival/pkg/multi-language-bench-read-only/src/havlak/go/havlakloopfinder.
go:206
/home/dorival/pkg/multi-language-bench-read-only/src/havlak/go/havlakloopfinder.FindLoops(0x977b31f8, 0xb5ee2a00, 0x8049347)
/home/dorival/pkg/multi-language-bench-read-only/src/havlak/go/havlakloopfinder.
FindHavlakLoops+0x31
/home/dorival/pkg/multi-language-bench-read-only/src/havlak/go/havlakloopfinder.
go:382
/home/dorival/pkg/multi-language-bench-read-only/src/havlak/go/havlakloopfinder.FindHavlakLoops(0x977b31f8, 0xb5ee2a00, 0x977b3eb0, 0x0)
main.main+0x4c4
/home/dorival/pkg/multi-language-bench-read-only/src/havlak/go/looptesterapp.go:
112
main.main()
runtime.mainstart+0xf /home/dorival/pkg/go/src/pkg/runtime/386/asm.s:93
runtime.mainstart()
runtime.goexit /home/dorival/pkg/go/src/pkg/runtime/proc.c:178
runtime.goexit()
----- goroutine created by -----
_rt0_386+0xc1 /home/dorival/pkg/go/src/pkg/runtime/386/asm.s:80
Original issue reported on code.google.com by dorival.pedroso
on 6 Jun 2011 at 2:11
It would be great if this benchmark evolves together with the development of
these languages (or their implementations).
Original issue reported on code.google.com by Yi.Wang.2005
on 8 Oct 2012 at 7:21
There isn't a C# version. It's one of the most used languages, you know? :-)
Original issue reported on code.google.com by [email protected]
on 15 Jun 2011 at 7:34
oops, Python is not discussed in the report for Scala days 2011.
Original issue reported on code.google.com by [email protected]
on 9 Jun 2011 at 12:55
I couldn't see the expected output described anywhere. The code compiled with
MSVC 2003 gives:
Welcome to LoopTesterApp, C++ edition
Constructing App...
Constructing Simple CFG...
15000 dummy loops
Constructing CFG...
Performing Loop Recognition
1 Iteration
Another 50 iterations...
..................................................
Found 76002 loops (including artificial root node)(3800100)
loop-0, nest: 0, depth: 0
Is this correct?
MSVC 2010 compiles the code without error but the code does not execute
correctly.
Original issue reported on code.google.com by [email protected]
on 13 Jun 2011 at 2:45
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.