Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Get a devDuck
Rubber duck debugging has never been so cute! Get your favorite coding language devDuckBuy Now
Search - "profiler"
So there it fucking goes.
Hi. I'm WillibertXXIV.
I'm not a programmer by trade; I have a more than fulltime job as a cook. As for the last year, I spent pretty much all my free time, overlapping my sleep time, to learn how to code.
All that so I can create a game that I started working on the same day I started my learning process. So far it's shit and it's going to stay that way for a long time. Only I can say this. It's my baby. It's fucking ugly and shit but it's mine.
Yesterday I broke it. I broke my baby. I don't know how it fucking happe. When I went to sleep I had a steady 175fps, nice realtime lightning and player / enemy that flowed like running water. I worked really hard to make that happened. Profiling, writing better code, profiling, etc. It's still not good, it's less shit.
I woke up, beautiful day. Not too warm, not too cold, that sweet spot right in the middle. Girlfriend already made the coffee. Perfect. Woke up, sat down to start my morning time work before going to my realjob and
Everything is shit, 20fps max. That one thing, gfx.waitforpresent, showing up in the profiler eating everything as the game run. Movements are now of stroboscopic nature. Light is still ok but what good does it do now fucking piece of shit. I'm not qualified enough for this shit.
Fuck this shit,
Fuck this shit i'm out of here.26
Unity fps counter: 120fps
Profiler: 170 fps
THEN WHY THE FUCK is it clearly running at only about 30 fps7
Just optimized a bottleneck function in a program down from 160ms to 3ms. First time I've ever used a profiler, and it feels awesome.1
The other day, I customer of ours asked me to try to improve the performance of an application of his in a particular method. The method in question taking more than 5 minutes.
I took a look at what it did in the profiler, and it shocked me. More than 100k selects to the database, to retrieve 116 records...
I took a look at the code... Scores of selects in nested loops inside other nested loops inside of... That seemed normal to them...
At the end after we improved it's performance it took 3 seconds...
What shocks me the most is that the customer is a developer himself, really knowledgeable and has an order of magnitude more experience than I do. Am I too anti "worthless database round-trips"? Is that normal? :S2
I'm so fucking done with net neutrality. the only ones who want it are verion, comcast, and other big isps.
this is fucking merica. nobody wants it, and this is a government designed for the people. I guess it only works in theory.
the talk about this has been fucking exhausting. how much clearer could it be?
how does it keep coming up? so much of the economy is online. why would congress want this? this should be a fucking fundamental right. no bs, just fast speeds everywhere. i hate all the isps thinking that because the world is so reliant on the internet, they control everything.
isps are a service. that's it.
they're not a profiler or advertiser, just a service.
and if that changes, I'll buy a bunch of flash drives and go offline.
bottom line, we should have privacy, neutrality, and a safe web. fuck those greedy bastards.17
0 bytes of heap allocated per cycle! Figuring out the Unity profiler actually helped me improve my C# optimization. <33
I need to performance monitor our web app. I have been working on some speed improvments since some of our customers have complained. My boss wants me to be able to produce stats which he can use (and abuse) to highlight to customers that we have got quicker. I am currently looking at blackfire for PHP profiling to help with speeding things up but I need a top site overview for everything. Our stack is PHP (no framework), JS (jquery + vanilla), MySQL on Windows mainly. On premise solutions would be good since we don't traditionally run in the Cloud. Our system isn't SaaS and is installed on dedicated data centre servers or on premise3
## Scripting myself out of the company
who needs an expensive profiler, when you can make thread dumps and compile them into a flamegraph for free without any risk of outages!
Though what bothers me is that I'm yet to come across a person in this company who knows how to read them (besides me)...
Are flamegraphs really THAT unpopular?
I mean.. you can represent the whole profile in a single image!9
This is not an ad!
But if anyone is in a need for a decent java profiler - here's yourkit's festive deal: https://www.yourkit.com/purchase/ (Personal)
You can legally use this licence for both personal and commercial needs. It's non-expiring. You can have up to 3 profiler copies simultaneously (deactivate one to activate another if all 3 slots are used)
I just thought some of you might find this useful. Since I'm a performance engineer I grabbed this deal as if it was the last one in the shelf :) The tool is good, the price is decent and it's for lifetime.
Again, it's not an ad. I don't care if you purchase it or not. I just thought I've come across smth nice and felt like sharing.2
I'm a junior-ish dev (worked 3 year part time in a small company)
I've been assigned the happy task of doing some performance profiling on our windows application to see where we can work to make the app run smoother.
Visual studio profiler keeps crashing when generating the report when I do CPU sampling.
I'm a very unhappy Dev right now.1
I have discovered the power of YourKit. Really helped me track down the problem of a ton of threads and a slow application.
Don't ever give you work mail when you create an account to download a profiler , that decision is chasing me for the last 4 years , stalking saleswoman even came to the office without letting us know and nowadays I get freak mails from them
Bloody fucking Android! Updates, updates and more updates! My development Nexus 5X won't allow me to sideload apps since it updated... Hello, printf debugging! Goodbye, profiler and debugger!
My hate for Android grows with each version after 4.0.$something... 2 was shit, I missed 3, 4 was OK, and since then it's going steeply down.
And don't get me started on Material Design...! Good luck figuring out what's a button and what's a label...
And what's up with the "let's keep all apps running all the time to save a few ms on start" philosophy!? Who thought that is a good idea!? Yeah, System.exit(0) works, but... Is it so hard to determine when it's not needed anymore (has no services running etc.)? Why should a web browser (for example) stay in memory after I quit? Minimize is a thing (Home button), why make it so confusing?
Another thing - feedback-less async tasks - why? I like to know when it is working in the background... How the hell am I supposed to find out if it is supposed to do this or if it is frozen?
And Android deciding to kill your process whenever it pleases without any callback... Happened to me once with an Activity in the foreground (no exceptions anywhere in my app, it just quit). How do you do IO properly? It seems you can't guarantee some file or socket or something that must be closed doesn't stay open (requiring to restart Bluetooth 'cause the socket wasn't closed, for example)...5
Java's garbage collector must be broken - it failed to get rid of this dumpster fire another dev called "source code". But, hey, at least the profiler works.
That feeling you get when all seems well and you've been running your application in production for months, only to learn it's been soaking up memory like a sponge and frequently paging the ops team after hours...
I have got my first oss issue, I am finding a bit difficult to make changes in the code but I did achieve what the issue demands by writing a basic script to get it approved from the collaborator.
A little help will be appreciated
jsfiddle link(I implemented what the issue demands):
Had a watchdogs type dream, but my profiler kept bugging up and I ended up in the bunker trying to fix it until I woke up. I no longer play that game