Call node_get_all_orports() less from node_is_a_configured_bridge()
According to our profile, this function accounts for a huge amount of the total calls to malloc() that we do. Although I don't think it accounts for much allocation at any given time, it is probably slowing us down.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information