View Single Post
  #12   Spotlight this post!  
Unread 18-04-2016, 09:46
vScourge's Avatar
vScourge vScourge is offline
Videogame Developer
AKA: Adam Pletcher
FRC #4096 (Ctrl-Z)
Team Role: Coach
 
Join Date: Jan 2014
Rookie Year: 2012
Location: Champaign, IL
Posts: 30
vScourge is on a distinguished road
Re: Progressively longer to initialize Python

Quote:
Originally Posted by Arhowk View Post
If the pyfrc libraries were compiled before being uploaded to the RIO (if they aren't already), would that make it significantly faster?
Bytecode-compiled .pyc files are primarily to reduce file size, and only help where disk I/O is the bottleneck. If that's the case here then it may help but I wouldn't expect the difference to be dramatic.

Anecdotally, our robotpy deploy times dropped by at least a couple seconds once we switched our RoboRio to static IP and used that IP (not the hostname) to deploy. I would also second Dustin's advice on using tunables when practical, and just avoid redeploying for every tweak.

Although coming from using LabView in previous years our team still finds the robotpy deploy times to be a vast improvement.
Reply With Quote