https://kotlinlang.org logo
#exposed
Title
# exposed
a

Alex Wood

01/20/2022, 7:53 PM
Hi, what is the best me for me to profile coroutines / Exposed? I am having some major performance issues, but struggling to narrow it down to a specific cause. My 2 very simple SELECT queries seem to be taking about 2 seconds.
Copy code
[19:51:35 INFO]: [Nodes] [STDOUT] SQL: SELECT Users.id, Users.title, Users.town, Users.`role` FROM Users WHERE Users.id = '3e4bdaa7-33ae-3a69-a578-f43f78094268'
[19:51:35 INFO]: [Nodes] [STDOUT] SQL: SELECT Towns.id, Towns.`name`, Towns.nation_id, Towns.home_block_world, Towns.home_block_x, Towns.home_block_y, Towns.home_block_z, Towns.node_id FROM Towns WHERE Towns.id = '33d428d9-1b53-4b4b-bd74-c9583549a390'
e

Endre Deak

01/20/2022, 7:57 PM
I’d first go with measuring the query time at database level to see where the overhead comes from.
2 Views