Fork me on GitHub
#luminus
<
2021-01-04
>
Piotr08:01:25

@guswill That is actually something I am noticing also.

Piotr08:01:44

I haven’t invested time into this yet, but probably soon I will have to. Can you share the template config you have used?

Piotr09:01:44

@U050CBXUZ Can you think of anything that could cause that?

yogthos18:01:46

my guess would be some of the middleware in the default template, one possibility could be format wrapping

yogthos18:01:37

the drop @guswill is seeing seems pretty significant, I haven't benchmarked recently but it used to be within the same order of magnitude before

yogthos18:01:12

so perhaps one of the middleware libraries that's currently in use is creating a performance hit now

yogthos18:01:06

taking a look in wrap-base in the <app>.middleware namespace would be the place to start, and maybe just commenting out different pieces of middleware to see which one is the culprit

GusWill20:01:52

Hey, sorry for dropping the bomb like this. On second thought I should've more more careful and shared reproducible benchmark results, but I was really strapped for time.

GusWill20:01:37

I will try to find some time this week to get to the bottom of this.

GusWill21:01:22

The backstory: we used luminus for an internal tool and, after we deployed to our cluster, a colleague complained about latency. I did a quick benchmark with ab and got something in the low tens. I then spent an afternoon debuggingthinking the deploy had somehow gone wrong.

GusWill21:01:07

At the end of the day I decided to try the obvious: benchmark on my local machine. I got pretty much the same results.

GusWill21:01:37

Anyways, I'm going to set aside time this week to benchmark different template combinations and report back.

Piotr12:01:50

I will have a look as well. @U050CBXUZ call to your experience, what is just about average result? I suspect that in my case it may be my environment, but I will check again.

yogthos16:01:57

but yeah I can help take a look as well, would be good to see what's causing the slowdown

yogthos02:01:58

@UBC1Y2E01 @guswill sorry haven't had a chance to look at this yet, have either of you had a chance to play with this?

Piotr21:01:35

@U050CBXUZ Unfortunately, new job… 😉

yogthos22:01:34

Congrats :)

Piotr06:01:09

First job in Clj, thanks!

GusWill15:01:43

I haven't either, unfortunately, still enjoying my vacations. Will take a look when I get back.

Piotr13:01:10

Lucky you ;-)