Issue #4590 has been updated by Jesse Wolfe.

Assignee changed from Paul Berry to Jesse Wolfe

I've got a proof of concept of backporting yaml_initialize to ruby 1.8.1 and 
1.8.2 . Since yaml_initialize works out-of-the-box in 1.8.3 and later, and is 
supported in JRuby, I think we'll be able to get this patch working on all 
supported rubies without much trouble.
----------------------------------------
Bug #4590: SimpleGraph is slow
http://projects.puppetlabs.com/issues/4590

Author: Paul Berry
Status: Accepted
Priority: Normal
Assignee: Jesse Wolfe
Category: 
Target version: 
Affected version: 2.6.1rc2
Keywords: 
Branch: 


Experiments on 8/17/10 revealed that Puppet spends a significant amount of time 
executing methods in the SimpleGraph class.  Using a contrived .pp file 
containing 4000 "notify" resources and 25806 "require" dependencies, execution 
of "puppet apply" takes 71 seconds with 2.6.x.  We know that a lot of this time 
is due to SimpleGraph, because we can replace SimpleGraph with an alternate 
implementation (from Markus) and bring execution time down to 44 seconds, a 38% 
savings.

Unfortunately, Markus's rewrite of SimpleGraph is not yet ready to commit to 
the codebase, because it breaks the YAML serialization format.

I'm working on this.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to