gchrupala / morfette

Supervised learning of morphology
BSD 2-Clause "Simplified" License
28 stars 5 forks source link

Performance regression #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
morfette-0.3.4 compiled with ghc 7.4.1 runs extremely slowly.

Original issue reported on code.google.com by pitekus on 7 May 2012 at 1:00

GoogleCodeExporter commented 9 years ago
Some further details.

The following command:
./bin/morfette train --dict-file 
/data/gchrupala/data/corpora/freeling-dict/dicc-2.0.src --language=es 
--iter-pos=10 --iter-lemma=3  
/data/gchrupala/data/corpora/ancora-morfette/train.tokpos 
data/ancora-morfette-0.3.1-i10x3.model

Using:
morfette-0.3.2, compiled with ghc 7.2.2
Linux cl6lx 2.6.31.5-0.1-desktop #1 SMP PREEMPT 2009-10-26 15:49:03 +0100 
x86_64 x86_64 x86_64 GNU/Linux
Total time  1004.57s
3402 MB total memory

Using:
morfette-0.3.4, compiled with ghc 7.2.2
Linux cl6lx 2.6.31.5-0.1-desktop #1 SMP PREEMPT 2009-10-26 15:49:03 +0100 
x86_64 x86_64 x86_64 GNU/Linux
Total   time  663.01
2759 MB total memory

Using: 
morfette-0.3.4, compiled with ghc 7.4.1
Linux cl6lx 2.6.31.5-0.1-desktop #1 SMP PREEMPT 2009-10-26 15:49:03 +0100 
x86_64 x86_64 x86_64 GNU/Linux
Killed as it seems stuck.

So this is an issue with ghc 7.4.1 (or some associated libraries)

Original comment by pitekus on 7 May 2012 at 1:58

GoogleCodeExporter commented 9 years ago
Latest news this is that this is a performance regression in the array library:
http://hackage.haskell.org/trac/ghc/ticket/6082#comment:5

Until this is solved, do no use compile morfette with ghc-7.4.1.

Original comment by pitekus on 22 Jun 2012 at 4:49

GoogleCodeExporter commented 9 years ago
Revision r89 resolves this issue.

Original comment by pitekus on 18 Jul 2012 at 9:51