Tustin / psn-php

A PHP wrapper for the PSN API
https://tustin.dev/psn-php/
MIT License
354 stars 73 forks source link

Performance issues with latest version? #240

Closed Ragowit closed 1 year ago

Ragowit commented 1 year ago

Since I updated to v4 so are things taking longer then before. I did a composer update on all things, so it could be another component (i.e. guzzle). But my own code hasn't changed.

Grabbing all games and earned trophies from "thedarkelvis" as an example, took me about 2 hours. This was usually a lot faster before, maybe around ~20 minutes mark or so.

Anyone else noticing this?

I will investigate my own code further to see if there's something on my end, but it feels strange.

Tustin commented 1 year ago

I can't think of anything that I might've changed that would've caused any slowdown. I can also investigate but it could possibly be Guzzle. The only major thing I changed was supporting native PHP enums and adding function/property types; although I don't think any of those would cause any slowdown (at least, not to your degree).

Ragowit commented 1 year ago

Probably something at my end, will investigate further.