Indico performance - web previsualization

Does it also happen on a (local) dev setup? Because there it would be relatively easy to enable the Python profiler by setting PROFILE = True in indico.conf and then looking for the .prof file in Indico’s temp dir.

AFAIK profiler data do not contain any values so sharing this file should be fine. Alternatively you can of course privately share a full dump of one of these events with us so we can have a look ourselves.

But yes, I agree with @bpedersen2’s comment. It seems like you are misusing indico functionality and use minutes for what should be materials… But without actually seeing such an event and its contents, all of us can just take wild guesses…

What kind can I find in the .prof files?

So I understand there is no way to load the minutes in the background.

I will definitely try the users to change the way they enter the info in those events. I case I’d like to try, what would be the files I’d need to consider?

Thanks

Thanks

If you mean how to read it, IIRC this is the way to get the profiler output:

  • python -m pstats
  • read /path/to/the/file.prof
  • sort cumtime
  • stats

It’s not VERY readable by itself, but using other tools like gprof2dot it can be converted into something more graphical. Maybe you cna share the .prof file here?