You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GNS3 server code (version 3.0.2) is significantly slower than 2.2.x versions. For example:
(gns3server-venv) gns3@gns3vm:~$ time python3 -m gns3server --version
3.0.2
real 0m2.341s
user 0m2.203s
sys 0m0.136s
(gns3server-venv) gns3@gns3vm:/usr/local/bin$ time python3 -m gns3server --version
2.2.52
real 0m0.572s
user 0m0.520s
sys 0m0.051s
The slowdown can be seen at the startup stage (time before the gns3welcome window appears in the console), during adding and removing nodes to the project, during opening the project. It is very uncomfortable to work with such slowdowns.
Probably, the slowdown is related to the non-optimal import of a large number of modules...
The text was updated successfully, but these errors were encountered:
I have refactored how the command line arguments are parsed (done before loading the rest of the server modules). Now getting the version is much faster.
time python3 -m gns3server --version
3.0.3.dev1+8e96c4c2
real 0m0.121s
user 0m0.109s
sys 0m0.012s
The command python3 -m gns3server --version now actually run faster. However, projects in GNS3 version 3.0.3 still take much longer to open than in GNS3 version 2.2.53.
As an example, I created a project containing 6 OpenWrt 23.05.0 nodes (the template for the nodes is https://gns3.com/marketplace/appliances/openwrt-2) and made some connections between them (see screenshot below).
In GNS3 version 2.2.53 I have this project open in ~1-1.5 seconds, but in GNS3 version 3.0.3 it takes ~11 seconds. 11 times slower.
GNS3 server virtual machine parameters (same for both versions):
I can also confirm that GNS3 version 3.x.x is much slower when loading projects than the GNS3 versions 2.2.x.
On large projects (more than 50 nodes) it can take up to a minute or more.
GNS3 server code (version 3.0.2) is significantly slower than 2.2.x versions. For example:
The slowdown can be seen at the startup stage (time before the gns3welcome window appears in the console), during adding and removing nodes to the project, during opening the project. It is very uncomfortable to work with such slowdowns.
Probably, the slowdown is related to the non-optimal import of a large number of modules...
The text was updated successfully, but these errors were encountered: