ihp icon indicating copy to clipboard operation
ihp copied to clipboard

Profiling

Open zacwood9 opened this issue 4 years ago • 3 comments

I was browsing some IHP Benchmarks, and after seeing the relative performance compared to the raw Warp server I started wondering where IHP is actually spending its time, especially in the JSON and Plaintext categories.

Before IHP v1.0, I think it would be useful to do some detailed profiling on an IHP application to detect any possible bottlenecks or memory issues. GHC has built-in profiling support, with the ability to add annotations manually to functions that should be identified as cost centers.

zacwood9 avatar Mar 29 '21 14:03 zacwood9

Like the idea of this 👍 I'm sure there are lot's of low hanging fruits here as we haven't done that much optimisation yet

mpscholten avatar Mar 29 '21 16:03 mpscholten

Are there any news on profiling? I am interested in the performance and was curious of the status quo, so I don't redo work that has been done or is unnecessary. (Also the linked benchmarks are "in maintenance?")

eftychis avatar Nov 10 '22 08:11 eftychis

At https://github.com/digitallyinduced/IHP-FrameworkBenchmarks we have a recent benchmark that can be run locally. For profiling we don't have any specific updates yet.

mpscholten avatar Nov 10 '22 09:11 mpscholten