OpenCOBOL Forum Index OpenCOBOL
Simple cobol benchmark... | Register To Post |
| Threaded | Newest First | Previous Topic | Next Topic | Bottom |
| Poster | Thread |
|---|---|
| human | Posted on: 2012/8/31 8:34 |
Home away from home ![]() ![]() Joined: 2007/5/15 From: GERMANY Posts: 1416 |
Re: Simple cobol benchmark... I'd would suggest to insert
Simon 'human' Sobisch |
| federico | Posted on: 2012/8/31 12:30 |
Home away from home ![]() ![]() Joined: 2010/2/7 From: Posts: 220 |
Re: Simple cobol benchmark... These results with Opencobol 1.1 binary package on a Intel(R) Core(TM)2 Duo CPU E7500 @2.93.Ghz 3,24 GB RAM XP Pro Service pack 3
Opencobol GCC 3.4.5 Gary's version (It was built using Berkeley Database V5.0.26, GMP V5.0.1 and PDCurses V4.3. Opencobol Microsoft Visual Express C++ 2008 (built from me using the opencobol.org tarball with VISAM BMP and PDCurses kindly received from Human. RES COBOL TO JAVA translator C:\RES\cobol>java -cp .;classes12.jar;..\RES.jar cobolprogramclasses.Bench01 ps. unfortunately it goes in exception for I/O so I can suppose its time worse then normal...at least for the file isam test... the others are far from being comparable to opencobol performances. Of course, all test were executed at the same PC. Federico |
| human | Posted on: 2012/9/3 7:38 |
Home away from home ![]() ![]() Joined: 2007/5/15 From: GERMANY Posts: 1416 |
Re: Simple cobol benchmark... According to http://opencobol2java.sourceforge.net/#timings one should use "-opt1"/"-opt2" when creating Bench.01. You may want to add 2 benchmarks with these compile switches (I suggest to edit your post and if you don't mind, surround the benchmarks with code tags for easier readability)?
Simon 'human' Sobisch |
| federico | Posted on: 2012/9/3 16:32 |
Home away from home ![]() ![]() Joined: 2010/2/7 From: Posts: 220 |
Re: Simple cobol benchmark... The java version was compiled with this batch
That seems to be the best version. However I would like to say that the programmer who wrote the RES utility did a great work ! I got really surprised looking the cobol moving to a java class so fine. ![]() Of course since java is running into a VM it won't be faster then OpenCOBOL that is a optimized build. But the goeal of this benchmark is giving us and idea abot the global performance of it (in general). Federico ps. I [code]ed my previous message... |
| human | Posted on: 2012/9/5 15:17 |
Home away from home ![]() ![]() Joined: 2007/5/15 From: GERMANY Posts: 1416 |
Re: Simple cobol benchmark... Results on same machine with with VC 2010 Express,
There were no significant differences when cobc -O2 was used (bench.cbl is to simple to take effect). Compiled with runtime-checks (cobc -debug), what I always suggest to do: Simon 'human' Sobisch |
| ska | Posted on: 2012/9/13 5:00 |
Just can't stay away ![]() ![]() Joined: 2008/3/17 From: NYC Posts: 145 |
Re: Simple cobol benchmark... Just my 2 cents
Here is the data for AMD4800 - 8-years old PC (WinXP x64 which is basically 2003), but that's not the major point. OC 1.1 CE 32-bit my build native Windows VS2008 (MPIR,VBISAM): MERANT Micro Focus Net Express V3 Version 3.1.11 Copyright (C) 1984-2000 MERANT International Ltd. - very OLD version And that is first of all about the quality of the runtime libraries, and about COMP-3. I've said about 7 years ago that we need to move OC from C to pure C++ (in codegen) to be able to use COMP3 templates instead of slow GMP/MPIR
|
| « 1 2 (3) | |
| Threaded | Newest First | Previous Topic | Next Topic | Top |
| Register To Post | |








