Hey Pants Team, wanted to share amazing news. Upgr...
# general
r
Hey Pants Team, wanted to share amazing news. Upgrading to
2.17.0rc1
gave us a 94% improvement in our cache generation time! It previously took ~3hours and now it runs <15mins. It has been noticeably faster, loving these performance improvements!
😍 5
some background we run pants on 43K files. 5.79 million lines of Python code is analyzed.
b
Any thoughts on why this is? WHat specific operation is being measured?
r
it's the rust parser! Parser all our python dependencies was way too slow
πŸ™Œ 1
πŸ’― 2
c
That’s a well deserved bowtie to you @bitter-ability-32190 πŸ˜„
r
next performance improvement that I believe will help our massive use case is improving `Find targets from input specs`and
Map all targets to their dependents
as take ~5mins with no pantsd in CI. I believe this github issue is related https://github.com/pantsbuild/pants/issues/18911
b
I'm bathing in this chart
❀️ 1
Absolutely drowning in it
It feels great πŸ˜‚
⭐ 3
r
you did amazing work absolutely massive impact for our monorepo
❀️ 2
first time ever we are using beta release on main branch. But it was too good not too 😏
πŸ˜… 1
b
Hehe https://github.com/pantsbuild/pants/issues/18961 will mean we'll likely invalidate that cache before the official release. But that'll be one-time
πŸ‘ 1
r
on 2.17.0 we actually can run pants in CI without cache, it takes longer but still useable. Our next bottleneck is dependency calculation is slow with warm cache and no pantsd