Jira (PUP-5217) compile profiler metrics are incorrect

2022-03-08 Thread David McTavish (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 David McTavish updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-5217  
 
 
  compile profiler metrics are incorrect   
 

  
 
 
 
 

 
Change By: 
 David McTavish  
 
 
Epic Link: 
 SERVER-792  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.97394.1441840452000.31053.1646758080144%40Atlassian.JIRA.


Jira (PUP-5217) compile profiler metrics are incorrect

2022-02-22 Thread Molly Waggett (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Molly Waggett updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-5217  
 
 
  compile profiler metrics are incorrect   
 

  
 
 
 
 

 
Change By: 
 Molly Waggett  
 
 
Labels: 
 final_triage  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.97394.1441840452000.21402.1645554960108%40Atlassian.JIRA.


Jira (PUP-5217) compile profiler metrics are incorrect

2021-12-03 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-5217  
 
 
  compile profiler metrics are incorrect   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Team: 
 Froyo  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.97394.1441840452000.19562.1638548760291%40Atlassian.JIRA.


Jira (PUP-5217) compile profiler metrics are incorrect

2021-12-01 Thread David McTavish (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 David McTavish updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-5217  
 
 
  compile profiler metrics are incorrect   
 

  
 
 
 
 

 
Change By: 
 David McTavish  
 
 
Labels: 
 final_triage  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.97394.1441840452000.17574.1638376080034%40Atlassian.JIRA.


Jira (PUP-5217) compile profiler metrics are incorrect

2018-03-15 Thread Charlie Sharpsteen (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Charlie Sharpsteen commented on  PUP-5217  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: compile profiler metrics are incorrect   
 

  
 
 
 
 

 
 If Puppet::Util::Profiler::Aggregate is just summing all the times recorded by all calls to Puppet::Util::Profiler.profile, then this looks like an expected result. The times recorded by Puppet::Util::Profiler.profile blocks are inclusive of any Puppet::Util::Profiler.profile blocks that may be nested, so things get double counted. I had to sort this out when updating Finch's puppet-profile-parser, here's the ticket for that: https://github.com/Sharpie/puppet-profile-parser/issues/1  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-5217) compile profiler metrics are incorrect

2018-03-15 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-5217  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: compile profiler metrics are incorrect   
 

  
 
 
 
 

 
 Yeah, it looks like the top-level evaluate_resource metric adds Node and Class times (so N*2), and the overall compilation time is N*4  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-5217) compile profiler metrics are incorrect

2018-03-15 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-5217  
 
 
  compile profiler metrics are incorrect   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Sub-team: 
 Server  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-5217) compile profiler metrics are incorrect

2018-03-15 Thread Justin Stoller (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Justin Stoller commented on  PUP-5217  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: compile profiler metrics are incorrect   
 

  
 
 
 
 

 
 Here is a catalog request, with a trivial catalog, when running Puppet Server from the repl with a puppet.conf that includes profile = "" in the master section:  
 
 
 
 
 2018-03-15 14:17:28,401 INFO  [qtp1109725453-32] [puppetserver] Puppet   
 
 
 2018-03-15 14:17:31,591 DEBUG [qtp1109725453-32] [p.r.core] Processing :post /puppet/v3/catalog/localhost  
 
 
 2018-03-15 14:17:31,599 DEBUG [qtp1109725453-32] [puppetserver] Puppet Evaluating match for Route /^\/puppet\//  
 
 
 2018-03-15 14:17:31,599 DEBUG [qtp1109725453-32] [puppetserver] Puppet Evaluating match for Route /v3/  
 
 
 2018-03-15 14:17:31,599 DEBUG [qtp1109725453-32] [puppetserver] Puppet Evaluating match for Route /^\/environments$/  
 
 
 2018-03-15 14:17:31,599 DEBUG [qtp1109725453-32] [puppetserver] Puppet Did not match path ("/catalog/localhost")  
 
 
 2018-03-15 14:17:31,600 DEBUG [qtp1109725453-32] [puppetserver] Puppet Evaluating match for Route /^\/environment\/[^\/]+$/  
 
 
 2018-03-15 14:17:31,600 DEBUG [qtp1109725453-32] [puppetserver] Puppet Did not match path ("/catalog/localhost")  
 
 
 2018-03-15 14:17:31,600 DEBUG [qtp1109725453-32] [puppetserver] Puppet Evaluating match for Route /.*/  
 
 
 2018-03-15 14:17:31,600 DEBUG [qtp1109725453-32] [puppetserver] Puppet Evicting cache entry for environment 'production'  
 

Jira (PUP-5217) compile profiler metrics are incorrect

2018-03-15 Thread Charlie Sharpsteen (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Charlie Sharpsteen commented on  PUP-5217  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: compile profiler metrics are incorrect   
 

  
 
 
 
 

 
 Huh. Interesting. Does the experiment produce the same results with recent puppet server versions?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-5217) compile profiler metrics are incorrect

2018-03-15 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-5217  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: compile profiler metrics are incorrect   
 

  
 
 
 
 

 
 ping Charlie Sharpsteen,  Justin Stoller, Maggie Dreyer  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-5217) compile profiler metrics are incorrect

2017-05-15 Thread Branan Riley (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Branan Riley updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5217 
 
 
 
  compile profiler metrics are incorrect  
 
 
 
 
 
 
 
 
 

Change By:
 
 Branan Riley 
 
 
 

Story Points:
 
 3 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-5217) compile profiler metrics are incorrect

2017-05-15 Thread Branan Riley (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Branan Riley updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5217 
 
 
 
  compile profiler metrics are incorrect  
 
 
 
 
 
 
 
 
 

Change By:
 
 Branan Riley 
 
 
 

Labels:
 
 triaged 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-5217) compile profiler metrics are incorrect

2017-05-15 Thread Branan Riley (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Branan Riley updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5217 
 
 
 
  compile profiler metrics are incorrect  
 
 
 
 
 
 
 
 
 

Change By:
 
 Branan Riley 
 
 
 

Team:
 
 Agent 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-5217) compile profiler metrics are incorrect

2016-04-27 Thread Chris Price (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Chris Price commented on  PUP-5217 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: compile profiler metrics are incorrect  
 
 
 
 
 
 
 
 
 
 
I don't think the profiler code that is generating these numbers is even used when running in Puppet Server, so if we're going to put any effort into this it'd probably be good to see what the numbers look like when running with the profiler that is used in Puppet Server. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-5217) compile profiler metrics are incorrect

2016-04-22 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg commented on  PUP-5217 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: compile profiler metrics are incorrect  
 
 
 
 
 
 
 
 
 
 
I wonder if measurements were correct before switching to new Profiler (commits references in 

PUP-5013
) and if 

PUP-5013
 got it wrong when using the new Profiler (i.e. missing to make calls to form the hierarchy of measurements). 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-5217) compile profiler metrics are incorrect

2016-04-22 Thread Josh Cooper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Josh Cooper commented on  PUP-5217 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: compile profiler metrics are incorrect  
 
 
 
 
 
 
 
 
 
 
Chris Price, Kylo Ginsberg, Henrik Lindberg not sure who wants this one, but since PE ships with an ENC, it seems like it'd be good to get this straightened out. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-5217) compile profiler metrics are incorrect

2015-09-09 Thread Josh Cooper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Josh Cooper created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5217 
 
 
 
  compile profiler metrics are incorrect  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Affects Versions:
 

 PUP 4.2.1 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Created:
 

 2015/09/09 4:14 PM 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 Josh Cooper 
 
 
 
 
 
 
 
 
 
 
While reviewing PUP-5013, I found that if the compiler spends N seconds evaluating a resource (in the examples below N is 3), then in 4.2.1 with an ENC the profiler will report the compiler took 5N seconds: 
 
 
 
 
 
 
Debug: compiler: 15.775227 s (16 calls) 
 
 
 
 
Debug: compiler -> compile: 3.339482 s (1 calls) 
 
 
 
 
...