
18 May
2023
18 May
'23
9:24 a.m.
I'm profiling some code to try and squeeze out performance. It takes a user query, reads data from the database and returned the result as XML I have tuned the code and database (checking the indexes, caching repeated calls etc) and what I am left with is that 95% of the call's runtime is building the XML. We are using builder because it is the standard / default for Ruby Using Ruby 3.0.2p107 as it is the default for Ubuntu 22.04 Is there another, faster library for XML generation or will I be building this by hand? Any suggestions