https://pantsbuild.org/ logo
#development
Title
# development
c

curved-television-6568

10/29/2022, 3:10 PM
not sure if this is real, but I feel like the pants scheduler is taking significantly longer to initialize than from what I’m used to… could a large ~/.cache affect initialization times? (in case it is large, haven’t checked)
Copy code
11:07:57.45 [INFO] Initializing scheduler...
[...]
11:08:17.36 [INFO] Scheduler initialized.
1
h

hundreds-father-404

10/29/2022, 4:46 PM
MODE isn't set to debug?
c

curved-television-6568

10/29/2022, 4:50 PM
Copy code
╰─❯ env | grep ^MODE
MODE=debug
n.b. that time comes after compiling the pantsd
h

hundreds-father-404

10/29/2022, 4:51 PM
yeah, MODE makes Pants substantially slower in return for faster Rust compiles
we only recommend setting MODE if you are working on Rust code directly
c

curved-television-6568

10/29/2022, 4:52 PM
ah, ok. I’ll try with that off… but I’ve used it on and only recently felt it be slower than usual (for the same MODE setting…) so just checking if it could be a regression…
w

witty-crayon-22786

10/31/2022, 4:17 PM
scheduler creation time increased significantly in the 2.15.x series, yea. the work to enable environments required a few changes in there
👍 1
c

curved-television-6568

10/31/2022, 5:27 PM
gotcha. thanks.