Hi list,
I have a indexed MagmaCollection ( it has about 11,000 objects). I have noticed that requesting the size to a MagmaCollectionReader takes a long time whereas the same requesting to a MagmaCollection doesn´t
For example:
"MagmaCollection>>size - fiirst evaluation" [ (magmaSession root at: #Serial) size ] timeToRun "answer about 525 milliseconds" "Note: magmaSession root at: #Serial answer a MagmaCollection"
"second evaluation" [ (magmaSession root at: #Serial) size ] timeToRun "answer about 1milliseconds"
"MagmaCollectionReader>>size first evaluation" [ ((magmaSession root at: #Serial) read: #issnString) size ] timeToRun "answer about 9798 milliseconds" "second evaluation" [ ((magmaSession root at: #Serial) read: #issnString) size ] timeToRun "answer about 8992 milliseconds"
Any suggestions for reducing this time?
Thanks in advance. Juan Matias.
Hi Juan, please see:
http://lists.squeakfoundation.org/pipermail/magma/2007-June/000677.html
So my first guess is you are using release 39, yes? If so then you are affected by this bug.
I've worked on release 40 since March to put in place features and fixes that were requested by the Magma community. Earlier this month, I asked everyone with interest enough in Magma to make these requests (which I have implemented), to please use the new r40.
http://lists.squeakfoundation.org/pipermail/magma/2007-August/000753.html
So please, won't you help out the Magma community, use r40, and report any problems you find here?
Thanks. Chris
On 8/31/07, Burella Juan M. juan.burella@gmail.com wrote:
Hi list,
I have a indexed MagmaCollection ( it has about 11,000 objects). I
have noticed that requesting the size to a MagmaCollectionReader takes a long time whereas the same requesting to a MagmaCollection doesn´t
For example:
"MagmaCollection>>size - fiirst evaluation" [ (magmaSession root at: #Serial) size ] timeToRun "answer about 525 milliseconds" "Note: magmaSession root at: #Serial answer a MagmaCollection"
"second evaluation" [ (magmaSession root at: #Serial) size ] timeToRun "answer about 1milliseconds"
"MagmaCollectionReader>>size first evaluation" [ ((magmaSession root at: #Serial) read: #issnString) size ] timeToRun "answer about 9798 milliseconds"
"second evaluation" [ ((magmaSession root at: #Serial) read: #issnString) size ] timeToRun "answer about 8992 milliseconds"
Any suggestions for reducing this time?
Thanks in advance. Juan Matias.
Magma mailing list Magma@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/magma
magma@lists.squeakfoundation.org