guzzle-bundle icon indicating copy to clipboard operation
guzzle-bundle copied to clipboard

Better profiler (based on PR #29)

Open rvgate opened this issue 10 years ago • 22 comments

Not sure if I had to create a new pull request here or at ludofleury:ludofleury.guzzle-profiler, related to pull request https://github.com/misd-service-development/guzzle-bundle/pull/29.

Basically what I did was use his pull request and changed the profiler to confirm with the comments in pull request #29. Here's a quick summary;

  • Changed logo back to the original misd-service-development-guzzle-bundle
  • Total times directly visible in the debugger toolbar and debugger menu (To make sure its consistent with other bundles that do this)
  • Requests are listed in an UL, like some other debuggers (Doctrine, Logger)
  • Changed the content to be somewhat the same like the LeaseWeb ApiCallerBundle, splitting information into timing, request and response per guzzle call.
  • Vanilla JS for toggling div display
  • Removed all other dependencies (jquery, fontawesome, syntax highlighting)
  • For viewing body content, you can chose raw, html or parsed (json), this idea came from ApiCallerBundle aswell

That's about it... All credits should go to @ludofleury for providing us the base that allowed me to do these changes.

Hope you like it!

rvgate avatar May 19 '14 12:05 rvgate

Notice some tests are failing... Could use some help reviewing/fixing those, its a bit unfamiliar territory for me :)

rvgate avatar May 19 '14 12:05 rvgate

I just saw the failed log. I'm not sure I will able to help you. But thanks a lot for your effort @rvgate ! It's awesome.

ludofleury avatar May 19 '14 16:05 ludofleury

Could you rebase? I've fixed the tests in 5f516c7622598217a870458297732b299aeb85ba. (There were 2 mock plugins accidentally added to the clients, and https://github.com/guzzle/guzzle/pull/576 changed the behaviour from doing nothing when the queue is empty to throwing an exception (hence the tests failing here as one of the plugins never has responses added).)

thewilkybarkid avatar May 23 '14 12:05 thewilkybarkid

@thewilkybarkid Rebased from 5f516c7 but still failing... what am I missing here??

rvgate avatar May 23 '14 13:05 rvgate

ping @thewilkybarkid @ludofleury

rvgate avatar Jun 05 '14 08:06 rvgate

@ludofleury Thanks for the fix!

@thewilkybarkid Everything seems to be alright now, anything you want me to do before merging?

rvgate avatar Jun 05 '14 12:06 rvgate

:clap:

ludofleury avatar Jun 05 '14 12:06 ludofleury

@thewilkybarkid ping

rvgate avatar Jun 10 '14 08:06 rvgate

@thewilkybarkid ping2

rvgate avatar Jun 17 '14 21:06 rvgate

Any updates on a possible merge? It has been so long... is this project still being continued?

ping @thewilkybarkid

rvgate avatar Jul 27 '14 11:07 rvgate

@thewilkybarkid Did another rebase based off the changes you did a few weeks ago, since it has been a while since the pull request was opened... any plans of merging this?

As an addition, it now also collects the postFields.

rvgate avatar Jan 03 '15 23:01 rvgate

@ddeboer @zerrvox @mattvick @alex-pex @tristanbes @adrian-ludwig @bendavies @adrienbrault @ludofleury @thewilkybarkid @mevdschee

Sorry for pinging all of you, you were mentioned in PR #29 willing to have this pull request merged... Im not sure what to do here... it has been a few months now and no activity or any expectations on a possible merge... What happened to the great plans of collaborating with other guzzle bundles (Issue #28)?

I could release this pull request as a new bundle at @LeaseWeb but that defeats the purpose of this whole PR. Lets collaborate!

rvgate avatar Jan 05 '15 23:01 rvgate

Agree.

ludofleury avatar Jan 06 '15 00:01 ludofleury

Hey @thewilkybarkid, @rvgate did some quite of work here and it seems that this PR could be merged as is. He fixed everything you requested & added some nice additions. Could you provide an answer about your position by any chance ?

ludofleury avatar Jan 06 '15 10:01 ludofleury

+1

mevdschee avatar Jan 06 '15 11:01 mevdschee

+1

thecodeassassin avatar Jan 06 '15 13:01 thecodeassassin

+1

zerrvox avatar Jan 06 '15 14:01 zerrvox

It seems this project is abandoned. :cry:

mevdschee avatar Jan 14 '15 23:01 mevdschee

@meeprophone ping @NMattin ping @rh389 ping @StuBez ping @thewilkybarkid ping

Anyone still maintaining this project????

rvgate avatar Feb 08 '15 15:02 rvgate

I really appreciate this initiative to bring the bundles together, it is a very good idea.

Unfortunately none of the maintainers (including @thewilkybarkid, Chris Wilkinson) is responding in the past 9 months, which is sad.

I suggest that somebody forks this project to keep it alive.

mevdschee avatar Feb 09 '15 10:02 mevdschee

I agree with @mevdschee,

@mtdowling seems to go forward with Guzzle (already version 5) so we can't really push this fork behind the official namespace/organisation.

I think @rvgate is pretty active on this project with his team, so maybe he should fork this one and take the lead on the repo.

If ever someone plan to upgrade to Guzzle 5, this could be the time where we should consider again guzzle organisation.

ludofleury avatar Feb 09 '15 10:02 ludofleury

@mevdschee @ludofleury @rvgate If any of you wish to contribute, there's always CsaGuzzleBundle, which supports Guzzle 4, 5 (on the 1.3 branch) and 6 (on the master branch).

Btw, a few features won't ever get ported from this bundle, as Guzzle services and guzzle command have not been upgraded to support Guzzle 6. /cc @mtdowling

csarrazi avatar Sep 20 '15 20:09 csarrazi