I’m not able to get the k2-performance-metrics not...
# k2-adopters
z
I’m not able to get the k2-performance-metrics notebook to run successfully. As far as I can tell, the gradle-profiler runs are successfully running but the notebook itself falls over.
👀 1
my repro case is pointing it at https://github.com/zacsweers/catchup with build task
:app:assembleDebug
it seems almost like it’s running with some incompatible version of kotlin? The error messages look like compiler errors
t
cc @Nataliya Valtman
z
Tried on a second computer and got the same issue. It doesn't seem like this notebook works as it is on main
reports I'm testing on
I was able to get this working, it looks like the failures happen if there’s a non-zero exit code from one of the profiler runs, and I had missed that in the execution logs
err, well I say that but I get similar errors again running on a different project where both profiles are successful
I notice sometimes the file gets modified, then when I revert it it suddenly works 🤔
ugh, nevermind. It’s just showing template data when I revert. Fails again when I rerun
same when I test on the catchup repo as well, also with both profiler runs successful
👀 1
s
I’ve checked the logs and tried to reproduce the problem. It seems that for some reason Kotlin daemon is disabled in the setup (during benchmark run)
java.lang.RuntimeException: Could not connect to Kotlin compile daemon
It both causes strange results and inability to make the visualization - since only Kotlin daemon reports metrics in proper format. cc @Nataliya Valtman
n
Yes, thank you. I have noticed that it was out-of-process compilation:
Copy code
Build attributes:
  REBUILD_REASON: Out of process execution
But it is unclear why it behave this way every time