-
Notifications
You must be signed in to change notification settings - Fork 83
Conversation
Hey, Adam! I think "Comment out" is actually the right thing to say there... that profiling is disabled unless that line is rendered inert. That said, I've never understood that code. @traceypowersg is that right? People do find this line confusing. Would it be OK to delete it (perhaps to add & explain it later) or should we just explain it in Chapter 2? Should this line of code be in every app until you're ready to do profiling? (Have you profiled this app?) Thx. |
Here's what that should really say: The default Profiler that is bound with Dependency Injection is very noisy, This line binds a quiet Profiler, replacing the Noisy default Profiler. On Fri, Feb 7, 2014 at 10:44 AM, Kathy Walrath [email protected]:
|
@financecoding it sounds like you & I should try commenting out that line, just to see what happens. In any case, are you up for improving the comment? |
Try commenting it out and look at the console. It used to be extremely But that was months ago, so the profiler stuff could have changed. On Fri, Feb 7, 2014 at 2:21 PM, Kathy Walrath [email protected]:
|
Commented it out seems to produce the same console output as it not commented out. |
Would you mind changing the PR (or opening a new one) that deletes the Profiler line? |
Sure will update or open new by tonight |
@kwalrath updated with remove profiler |
@financecoding I don't see this change (removing the profiler line). Did you upload it? |
hmm, not sure what I must of done.. Let me check out my local git repo |
fixed up, must of pushed the wrong branch |
Unnecessary profiling reference is out
Thanks, Adam! |
@kwalrath I found that comment confusing in regards to the code with profiling enabled. Actually had to look up "comment out" :)
http://english.stackexchange.com/questions/33483/when-i-say-comment-out-does-it-mean-to-uncomment-something-or-comment-it