I have an application that run fast on my computer but slow on a VPS for this JPA call
List<Catalogue> cats = catRepository.findAll()
This lasts 9 seconds (2.5s on my computer), I would like to know what takes so long : sql query or jpa? Is there a way to distinguish these two execution durations?
Thanks in advance.