samth / test-bugs

2 stars 0 forks source link

Bad performance in drracket with debugger #166

Open racket-bug-submit opened 12 years ago

racket-bug-submit commented 12 years ago
Originally submitted by Aart de Vries on: Thu Mar 15 09:48:02 -0400 2012

The problem is extremely bad performance in drracket. Things that should be fast (at most 100 ms) take extremely long (60+ seconds or even things which appear to be infinite loops).

I rated it Critical, because it makes drracket completely unusable. In fact, I cannot even close the window (gtk window with the cross in the upper right corner) while it is running, which is another capital offence in usability.

Steps to Reproduce:

Increase memory limit for Racket to 1000MB.

Put the following data in a file called data.csv

binary-trees,Clojure,6,12,705,9.461,117300,0,0% 0% 2% 100%,9.476 binary-trees,Clojure,6,16,705,11.301,319916,0,0% 0% 0% 100%,11.329 binary-trees,Clojure,6,20,705,35.886,528156,0,0% 0% 0% 100%,35.943 binary-trees,F# Mono,3,12,565,0.176,0,0,0% 0% 0% 100%,0.181 binary-trees,F# Mono,3,16,565,3.088,12228,0,1% 1% 0% 100%,3.093 binary-trees,F# Mono,3,20,565,65.028,126772,0,0% 0% 0% 100%,65.074 binary-trees,Fortran Intel,1,12,826,0.092,0,0,0% 0% 10% 80%,0.108 binary-trees,Fortran Intel,1,16,826,1.936,4476,0,1% 1% 0% 100%,1.939 binary-trees,Fortran Intel,1,20,826,40.267,65724,0,0% 0% 0% 100%,40.285 binary-trees,Python 3,6,12,626,0.904,27712,0,1% 0% 2% 94%,0.981 binary-trees,Python 3,6,16,626,20.725,73880,0,1% 0% 0% 100%,20.847 binary-trees,Python 3,6,20,626,467.917,831068,0,1% 9% 3% 100%,468.335 binary-trees,C GNU gcc,7,12,850,0.024,0,0,%,0 binary-trees,C GNU gcc,7,16,850,0.580,4636,0,0% 4% 10% 100%,0.583 binary-trees,C GNU gcc,7,20,850,12.141,99412,0,0% 0% 0% 100%,12.15 binary-trees,Ruby JRuby,2,12,413,2.256,71684,0,0% 0% 1% 100%,2.268 binary-trees,Ruby JRuby,2,16,413,9.757,331388,0,1% 1% 1% 100%,9.79 binary-trees,Ruby JRuby,2,20,413,284.818,823152,0,0% 0% 0% 100%,285.149 binary-trees,Java 7 -server,2,12,603,0.124,0,0,0% 0% 0% 100%,0.128 binary-trees,Java 7 -server,2,16,603,1.024,149580,0,1% 1% 0% 100%,1.037 binary-trees,Java 7 -server,2,20,603,14.133,483284,0,0% 0% 0% 100%,14.165 binary-trees,C++ GNU g++,6,12,892,0.028,0,0,0% 0% 0% 100%,0.029 binary-trees,C++ GNU g++,6,16,892,0.540,4172,0,2% 0% 0% 100%,0.544 binary-trees,C++ GNU g++,6,20,892,12.929,148448,0,0% 1% 1% 100%,12.951 binary-trees,Go,1,12,516,0.224,260,0,0% 4% 4% 100%,0.228 binary-trees,Go,1,16,516,5.436,17432,0,0% 1% 0% 100%,5.442 binary-trees,Go,1,20,516,114.435,243580,0,0% 0% 0% 100%,114.52 binary-trees,Ada 2005 GNAT,4,12,2167,0.032,0,0,0% 0% 0% 80%,0.047 binary-trees,Ada 2005 GNAT,4,16,2167,0.700,8912,0,4% 0% 0% 97%,0.715 binary-trees,Ada 2005 GNAT,4,20,2167,14.353,105640,0,1% 0% 0% 100%,14.377 binary-trees,Haskell GHC,4,12,612,0.032,0,0,0% 0% 0% 100%,0.037 binary-trees,Haskell GHC,4,16,612,0.980,12660,0,3% 1% 0% 100%,0.986 binary-trees,Haskell GHC,4,20,612,18.421,183408,0,0% 0% 0% 100%,18.459 binary-trees,C# Mono,2,12,650,0.172,0,0,%,0 binary-trees,C# Mono,2,16,650,3.604,19076,0,1% 1% 1% 100%,3.609 binary-trees,C# Mono,2,20,650,78.185,235280,0,0% 0% 0% 100%,78.262 binary-trees,C CINT,1,12,704,8.597,7796,0,1% 5% 2% 100%,8.603 binary-trees,C CINT,1,16,704,170.871,12888,0,0% 0% 0% 100%,170.911 binary-trees,C CINT,1,20,704,3238.318,80924,0,0% 0% 0% 100%,3239.03 binary-trees,Scala,4,12,494,0.244,204,0,0% 0% 4% 100%,0.249 binary-trees,Scala,4,16,494,1.116,152184,0,2% 2% 1% 100%,1.131 binary-trees,Scala,4,20,494,15.097,499624,0,0% 1% 0% 100%,15.143 binary-trees,JavaScript V8,1,12,467,0.076,8,0,0% 5% 0% 100%,0.272 binary-trees,JavaScript V8,1,16,467,1.044,28284,0,0% 1% 4% 100%,1.047 binary-trees,JavaScript V8,1,20,467,36.066,330332,0,0% 0% 0% 100%,36.102 binary-trees,Mozart/Oz,1,12,479,0.308,516,0,3% 0% 0% 100%,0.314 binary-trees,Mozart/Oz,1,16,479,7.084,30800,0,2% 4% 2% 100%,7.103 binary-trees,Mozart/Oz,1,20,479,144.001,413168,0,0% 1% 0% 100%,144.162 binary-trees,Smalltalk VisualWorks,1,12,722,0.148,0,0,0% 0% 0% 82%,0.184 binary-trees,Smalltalk VisualWorks,1,16,722,2.188,68492,0,1% 1% 0% 100%,2.193 binary-trees,Smalltalk VisualWorks,1,20,722,64.936,314540,0,0% 0% 0% 100%,65.001 binary-trees,Erlang HiPE,1,12,441,0.192,0,0,0% 6% 0% 100%,0.202 binary-trees,Erlang HiPE,1,16,441,1.836,20568,0,1% 0% 1% 100%,1.846 binary-trees,Erlang HiPE,1,20,441,39.786,247024,0,0% 0% 0% 100%,39.844 binary-trees,Pascal Free Pascal,1,12,769,0.068,0,0,0% 0% 0% 100%,0.069 binary-trees,Pascal Free Pascal,1,16,769,1.460,2612,0,2% 0% 1% 99%,1.466 binary-trees,Pascal Free Pascal,1,20,769,33.750,65840,0,0% 0% 0% 100%,33.763 binary-trees,ATS,3,12,2143,0.036,0,0,%,0 binary-trees,ATS,3,16,2143,0.852,9520,0,0% 0% 1% 100%,0.855 binary-trees,ATS,3,20,2143,17.545,197224,0,0% 0% 0% 100%,17.554 binary-trees,Lua,2,12,446,0.796,3944,0,1% 1% 2% 100%,0.801 binary-trees,Lua,2,16,446,20.437,89484,0,1% 1% 2% 100%,20.457 binary-trees,Lua,2,20,446,456.873,1700676,0,0% 0% 0% 100%,457.332 binary-trees,Perl,1,12,448,1.376,2504,0,1% 0% 1% 99%,1.378 binary-trees,Perl,1,16,448,31.142,19360,0,0% 0% 0% 100%,31.159 binary-trees,Perl,1,20,448,662.977,289548,0,0% 0% 0% 100%,663.337 binary-trees,Ruby 1.9,2,12,413,0.512,3432,0,2% 0% 4% 100%,0.516 binary-trees,Ruby 1.9,2,16,413,11.801,13988,0,1% 2% 2% 100%,11.814 binary-trees,Ruby 1.9,2,20,413,222.686,210408,0,0% 0% 0% 100%,222.795 binary-trees,Racket,2,12,640,0.232,248,0,5% 8% 0% 100%,0.236 binary-trees,Racket,2,16,640,2.300,27696,0,1% 0% 0% 100%,2.304 binary-trees,Racket,2,20,640,50.907,228084,0,1% 0% 0% 100%,50.956 binary-trees,Lisp SBCL,2,12,649,0.048,0,0,0% 0% 0% 100%,0.052 binary-trees,Lisp SBCL,2,16,649,0.744,31776,0,1% 0% 0% 100%,0.748 binary-trees,Lisp SBCL,2,20,649,20.973,226392,0,0% 0% 0% 100%,21.001 binary-trees,OCaml,2,12,784,0.024,0,0,0% 0% 0% 100%,0.044 binary-trees,OCaml,2,16,784,1.348,49692,0,2% 1% 1% 100%,1.366 binary-trees,OCaml,2,20,784,35.058,100968,0,0% 0% 0% 100%,35.126 binary-trees,PHP,3,12,483,1.088,5668,0,16% 3% 1% 100%,1.091 binary-trees,PHP,3,16,483,34.810,80788,0,0% 0% 0% 100%,34.842 binary-trees,PHP,3,20,483,902.032,1253300,0,0% 0% 0% 100%,903.99 binary-trees,Clean,3,12,539,0.040,0,0,0% 0% 0% 100%,0.044 binary-trees,Clean,3,16,539,0.820,55460,0,1% 0% 2% 100%,0.824 binary-trees,Clean,3,20,539,31.098,131492,0,0% 0% 0% 100%,31.136 chameneos-redux,Python 3,2,60000,866,2.724,4868,0,0% 0% 0% 96%,2.829 chameneos-redux,Python 3,2,600000,866,27.034,4868,0,0% 0% 0% 100%,27.147 chameneos-redux,Python 3,2,6000000,866,269.161,4868,0,0% 0% 0% 100%,269.355 chameneos-redux,Lisp SBCL,3,60000,2907,0.172,0,0,0% 0% 0% 100%,0.175 chameneos-redux,Lisp SBCL,3,600000,2907,1.596,4536,0,0% 0% 1% 100%,1.6 chameneos-redux,Lisp SBCL,3,6000000,2907,15.761,4544,0,0% 1% 0% 100%,15.766 chameneos-redux,Java 7 -server,1,60000,1770,0.280,184,0,3% 0% 0% 97%,0.289 chameneos-redux,Java 7 -server,1,600000,1770,0.548,15496,0,0% 0% 2% 100%,0.551 chameneos-redux,Java 7 -server,1,6000000,1770,3.496,17156,0,0% 1% 0% 100%,3.5 chameneos-redux,Erlang HiPE,1,60000,734,0.208,516,0,0% 0% 0% 100%,0.215 chameneos-redux,Erlang HiPE,1,600000,734,1.076,7172,0,2% 1% 0% 100%,1.083 chameneos-redux,Erlang HiPE,1,6000000,734,9.917,7164,0,1% 0% 0% 100%,9.926 chameneos-redux,OCaml,1,60000,1279,1.024,1932,0,2% 1% 0% 100%,1.028 chameneos-redux,OCaml,1,600000,1279,10.261,1936,0,1% 0% 0% 100%,10.267 chameneos-redux,OCaml,1,6000000,1279,102.374,1960,0,0% 0% 0% 100%,102.404 chameneos-redux,Ada 2005 GNAT,5,60000,2906,0.244,236,0,0% 4% 0% 96%,0.258 chameneos-redux,Ada 2005 GNAT,5,600000,2906,2.352,1904,0,0% 0% 0% 100%,2.367 chameneos-redux,Ada 2005 GNAT,5,6000000,2906,23.393,1908,0,0% 0% 0% 100%,23.412 chameneos-redux,Smalltalk VisualWorks,2,60000,2515,0.548,20176,0,0% 4% 2% 95%,0.58 chameneos-redux,Smalltalk VisualWorks,2,600000,2515,4.788,20176,0,0% 0% 0% 100%,4.795 chameneos-redux,Smalltalk VisualWorks,2,6000000,2515,47.055,20180,0,0% 0% 0% 100%,47.069 chameneos-redux,Go,5,60000,957,0.060,0,0,0% 0% 0% 100%,0.063 chameneos-redux,Go,5,600000,957,0.536,732,0,0% 2% 0% 100%,0.54 chameneos-redux,Go,5,6000000,957,5.332,732,0,0% 0% 0% 100%,5.338 chameneos-redux,C# Mono,1,60000,1400,0.240,264,0,4% 0% 4% 100%,0.242 chameneos-redux,C# Mono,1,600000,1400,1.936,5532,0,1% 0% 2% 100%,1.942 chameneos-redux,C# Mono,1,6000000,1400,18.313,5532,0,0% 1% 0% 100%,18.323 chameneos-redux,Mozart/Oz,1,60000,1090,0.208,524,0,%,0 chameneos-redux,Mozart/Oz,1,600000,1090,1.888,3704,0,0% 0% 1% 100%,1.897 chameneos-redux,Mozart/Oz,1,6000000,1090,18.665,3716,0,0% 0% 0% 100%,18.679 chameneos-redux,Racket,1,60000,791,3.768,49132,0,0% 1% 0% 100%,3.771 chameneos-redux,Racket,1,600000,791,34.962,84828,0,1% 1% 0% 100%,34.979 chameneos-redux,Racket,1,6000000,791,353.606,53996,0,0% 0% 0% 100%,353.74 chameneos-redux,Ruby 1.9,1,60000,920,1.624,3832,0,1% 0% 1% 100%,1.63 chameneos-redux,Ruby 1.9,1,600000,920,14.209,3836,0,0% 0% 0% 100%,14.217 chameneos-redux,Ruby 1.9,1,6000000,920,136.445,3832,0,0% 0% 0% 100%,136.497 chameneos-redux,C GNU gcc,5,60000,2863,0.124,0,0,0% 0% 0% 100%,0.129 chameneos-redux,C GNU gcc,5,600000,2863,1.224,548,0,1% 2% 0% 100%,1.227 chameneos-redux,C GNU gcc,5,6000000,2863,12.185,552,0,0% 0% 0% 100%,12.191 chameneos-redux,C++ GNU g++,1,60000,2449,0.068,0,0,0% 0% 0% 100%,0.071 chameneos-redux,C++ GNU g++,1,600000,2449,0.656,1228,0,1% 0% 0% 100%,0.659 chameneos-redux,C++ GNU g++,1,6000000,2449,6.528,1232,0,0% 0% 0% 100%,6.533 chameneos-redux,Haskell GHC,4,60000,991,0.060,0,0,0% 0% 17% 100%,0.064 chameneos-redux,Haskell GHC,4,600000,991,0.628,1816,0,0% 2% 2% 100%,0.633 chameneos-redux,Haskell GHC,4,6000000,991,6.536,1816,0,0% 1% 0% 100%,6.541 chameneos-redux,Clojure,1,60000,1331,14.229,328980,0,0% 0% 0% 100%,14.253 chameneos-redux,Clojure,1,600000,1331,27.770,521396,0,0% 0% 0% 100%,27.795 chameneos-redux,Ruby JRuby,1,60000,928,3.444,53888,0,0% 1% 1% 100%,3.464 chameneos-redux,Ruby JRuby,1,600000,928,6.784,97888,0,1% 0% 1% 100%,6.794 chameneos-redux,Ruby JRuby,1,6000000,928,40.259,199140,0,0% 0% 0% 100%,40.284 chameneos-redux,Scala,2,60000,1171,0.452,16880,0,0% 0% 4% 98%,0.454 chameneos-redux,Scala,2,600000,1171,1.832,34700,0,1% 0% 0% 100%,1.835 chameneos-redux,Scala,2,6000000,1171,15.149,83324,0,0% 0% 0% 100%,15.156 fannkuch-redux,JavaScript V8,2,10,472,0.480,4872,0,0% 2% 0% 98%,0.483 fannkuch-redux,JavaScript V8,2,11,472,6.056,4872,0,0% 0% 1% 100%,6.061 fannkuch-redux,JavaScript V8,2,12,472,80.449,4872,0,0% 0% 0% 100%,80.471 fannkuch-redux,Python 3,6,10,385,17.761,4756,0,1% 0% 0% 100%,17.768 fannkuch-redux,Python 3,6,11,385,222.738,4752,0,0% 0% 0% 100%,222.788 fannkuch-redux,Python 3,6,12,385,2978.202,4756,0,0% 0% 0% 100%,2978.848 fannkuch-redux,Clean,2,10,725,0.492,544,0,0% 0% 2% 100%,0.494 fannkuch-redux,Clean,2,11,725,5.956,548,0,1% 0%

Release:
5.2.900.1
Environment:
Debian/Squueze
This bug was converted from Gnats bug 12633.

[anon-submit; rtdvrs at gmail dot com]