Email or username:

Password:

Forgot your password?
Top-level
will talk for elePHPants!

@ramsey From an academic point that seems an interesting question indeed!

From a performance point of view I'd say "when that is your problem, you got other problems"

/cc @rasmus

11 comments
Boo Ramsey πŸ§›πŸ»β€β™‚οΈπŸ§Ÿβ€β™‚οΈπŸ‘»πŸŽƒ

@heiglandreas @rasmus Well, yeah. I’m trying to understand how much of an impact it makes, even if minor. I’m also curious whether this is low-hanging fruit that could significantly impact performance of servers under high load.

will talk for elePHPants!

@ramsey The "significantly impact performance of servers under high load" is the thing where I believe you got other problems. Mostly when you got high load you are in a distributet setup where the underlying stream might not necessarily be a "real" filesystem so the minimal performamce gain will still cause network trafic with all the slowness that is tied to it.

But yeah. Investigating is cool and perhaps it can shave off a cPU cycle or two....

/cc @rasmus

will talk for elePHPants!

@ramsey Also:

"Don't optimize for the machine that executes the code! Optimize for the person that maintains the code."

CPU cycles are cheap. As is storage.

/cc @rasmus

will talk for elePHPants!

@ramsey As I said! Interesting question from an academic point of view! Go and figure it out!

And perhaps you can indeed make it a bit faster.

will talk for elePHPants!

@ramsey Thanks! TIL that STDOUT and STDERR are by default different in regards to buffering.... 😁

Beth Tucker Long

@heiglandreas @ramsey This is a very interesting question, especially considering the thousands of extra notices and warnings that 8.2 is generating on servers hourly.

Boo Ramsey πŸ§›πŸ»β€β™‚οΈπŸ§Ÿβ€β™‚οΈπŸ‘»πŸŽƒ

@e3betht @heiglandreas This comes closest to the type of resource I'm looking for. I might need to replicate their benchmarks for Java in PHP, using comparable libraries/approaches. blog.sebastian-daschner.com/en

ghorwood↙↙↙

@heiglandreas @ramsey is there a link on this? because i would totally read it.

will talk for elePHPants!

@ghorwood Just some stuff I found when searching for "performamce difference stderr stdout". Mostly on StackOverflow...

/cc @ramsey

Go Up