Code Monkey home page Code Monkey logo

multi-language-bench's People

Watchers

Berkus Decker avatar  avatar

multi-language-bench's Issues

how do I know it worked?

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

Fails with 8g/8l

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

The Go version is not Go 1 compatible

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

No C#?

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.