Replies: 4 comments 6 replies
-
|
Do we really need a "human-readable" file as snapshot? I think saving the Box structure into a pickle file should save more time. |
Beta Was this translation helpful? Give feedback.
-
|
No problem at all but I agree with @ssasso above. And second, did anyone actually timed the function parsing the yaml snapshot ? |
Beta Was this translation helpful? Give feedback.
-
|
FWIW, here's the timing data for a really simple lab topology with 300 nodes from a server with AMD Ryzen 9 8945HS: The snapshot YAML file has 1.8MB |
Beta Was this translation helpful? Give feedback.
-
|
And here's the timing data when using the pickle file: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
@Muddyblack is complaining that "netlab connect" takes several seconds. Unless he has a DNS problem (or some such), the delay could be caused by YAML parsing of the
netlab.snapshot.ymlfile.Would anyone have a problem if we start using JSON encoding for the snapshot file? We could even create both files for a while just in case someone uses the YAML file.
/cc: @ssasso @jbemmel @DanPartelly @ddutt
Beta Was this translation helpful? Give feedback.
All reactions