Thread: Which Is Faster?
-
July 31st, 2020, 05:21 #1
- Join Date
- Mar 2020
- Location
- Sydney, Australia
- Posts
- 247
Which Is Faster?
Greetings All,
I was wondering if loading a lot of Extensions is faster/slower than loading a single ruleset modified to contain the plugins being used.
That is, do extensions create overheads as each one loads versus a ruleset?Thanks In Advance,
D
-
July 31st, 2020, 05:52 #2
Well, not having tested this or even with an intimate familiarity with FG, I'm pretty confident to say that loading a lot of extensions is going to be slower. This is because the total content is going to be larger and the computer is going to have more file operations as it calls and opens each file.
That said, those file call and opens are probably in the millisecond range. So unless you are loading hundreds of extensions that constantly overwrite the previous ones, I don't think you will notice.
From other discussions, campaign load times are heavily dependent upon the amount of content (objects in lists and modules and assets/tokens) that need to be loaded.
Problems? See; How to Report Issues, Bugs & Problems
On Licensing & Distributing Community Content
Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
Note, I am not a SmiteWorks employee or representative, I'm just a user like you.
-
July 31st, 2020, 06:52 #3
- Join Date
- Mar 2020
- Location
- Sydney, Australia
- Posts
- 247
-
July 31st, 2020, 07:01 #4
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,561
Extensions are essentially just like ruleset layers.
For loading, the number and size of files will have some impact on load times.
For during play, the basic performance comes down to how many window classes, templates, string assets, font assets, etc. are defined across all ruleset layers and extensions. They are all loaded into giant dictionaries, so that they can be used to resolve API calls during play. On top of that, the performance is mostly driven by how many objects are in a window (including all the nested windows and fields); as well as how the scripts are written. Also, complex scripts that perform a lot of API calls or register for lots of API events will take more performance than simpler scripts. However, all those items are independent of how they are broken up into ruleset layers or extensions.
Regards,
JPG
-
July 31st, 2020, 07:04 #5
- Join Date
- Mar 2020
- Location
- Sydney, Australia
- Posts
- 247
-
July 31st, 2020, 07:06 #6
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,561
Yeah, other than very minimal difference in loading time based on number of files; it all gets loaded before the tabletop initializes.
Regards,
JPG
-
July 31st, 2020, 07:08 #7
- Join Date
- Mar 2020
- Location
- Sydney, Australia
- Posts
- 247
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks