Issue 5416 in pharo: Improve MC version loading

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 5416 in pharo: Improve MC version loading

pharo
Status: Accepted
Owner: ----
Labels: Milestone-1.4 Type-Feature

New issue 5416 by [hidden email]: Improve MC version loading
http://code.google.com/p/pharo/issues/detail?id=5416

- don't serialize versions again, simply fileout the downloaded version file
- speed up categories: updates by using an intermediate Set for fast  
includes check
- don't open the source-file twice when reading the timeStamp AND the  
source for MCMethodDefinition


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5416 in pharo: Improve MC version loading

pharo
Updates:
        Status: FixReviewNeeded
        Cc: [hidden email]

Comment #1 on issue 5416 by [hidden email]: Improve MC version  
loading
http://code.google.com/p/pharo/issues/detail?id=5416

SLICE-Issue-5416--Improve-MC-version-loading-CamilloBruni.9

- weakly caching MCMethodDefinitions in RBMethodDefinition
- directly cache downloaded mcz
- Gofer does direct file-checks for mcz instead of walking over the whole  
file list
- always use the MCCacheRepository when loading from a remote location  
(this might have some side-effects)

these changes finally take advantage of having a package-cache. with a pre  
filled package-cache updating a pharo system is going to be roughly 5-times  
faster.



_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5416 in pharo: Improve MC version loading

pharo

Comment #2 on issue 5416 by [hidden email]: Improve MC version  
loading
http://code.google.com/p/pharo/issues/detail?id=5416

SLICE-Issue-5416--Improve-MC-version-loading-CamilloBruni.9

- weakly caching MCMethodDefinitions in RBMethodDefinition
- directly cache downloaded mcz
- Gofer does direct file-checks for mcz instead of walking over the whole  
file list
- always use the MCCacheRepository when loading from a remote location  
(this might have some side-effects)
- categories: in system categorizer is O(n) instead of O(n^2) by using a  
set for the final change test

these changes finally take advantage of having a package-cache. with a pre  
filled package-cache updating a pharo system is going to be roughly 5-times  
faster.


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5416 in pharo: Improve MC version loading

pharo
Updates:
        Labels: -Milestone-1.4

Comment #3 on issue 5416 by [hidden email]: Improve MC version  
loading
http://code.google.com/p/pharo/issues/detail?id=5416

(No comment was entered for this change.)


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5416 in pharo: Improve MC version loading

pharo
Updates:
        Labels: Milestone-2.0

Comment #4 on issue 5416 by [hidden email]: Improve MC version  
loading
http://code.google.com/p/pharo/issues/detail?id=5416

(No comment was entered for this change.)


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5416 in pharo: Improve MC version loading

pharo
Updates:
        Cc: [hidden email]

Comment #5 on issue 5416 by [hidden email]: Improve MC version  
loading
http://code.google.com/p/pharo/issues/detail?id=5416

We should take a look at this one and take action


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5416 in pharo: Improve MC version loading

pharo

Comment #6 on issue 5416 by [hidden email]: Improve MC version  
loading
http://code.google.com/p/pharo/issues/detail?id=5416

SLICE-Issue-5416--Improve-MC-version-loading-CamilloBruni.16

updated for the lates pharo version. However:

I introduced getSourceCodeFromFIle: on CompiledMethod again, as an  
extension package to Ring-Core. Since I figured out that one can speed up  
the MC definition creation a bit by not opening the source file stream  
twice (timeStamp and sources)...


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5416 in pharo: Improve MC version loading

pharo
Updates:
        Status: FixToInclude

Comment #7 on issue 5416 by [hidden email]: Improve MC version  
loading
http://code.google.com/p/pharo/issues/detail?id=5416

SLICE-Issue-5416--Improve-MC-version-loading-CamilloBruni.18


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5416 in pharo: Improve MC version loading

pharo
Updates:
        Status: Integrated

Comment #8 on issue 5416 by [hidden email]: Improve MC version loading
http://code.google.com/p/pharo/issues/detail?id=5416

in 20113


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker