cancel
Showing results for 
Search instead for 
Did you mean: 

Does the size of a Personas flavor impact performance, and can it be reduced?

former_member238607
Participant
0 Kudos

Hi,

We are running Personas 3.0 SP7 and developing in Slipstream.

I'm looking for ways to improve flavor performance, and I'm wondering if the size of a flavor impacts performance (load times, etc.)

When I refer to the size of a flavor, I'm referring to the uncompressed size of all the files when I export the flavor. I'm not sure if all that information is actually loaded when a user accesses the flavor or not. A couple of items I've noticed:

  1. Every time I make a script change, the system creates a new copy of my scripts. On some of the flavors I've worked with quite a bit, these files can be fairly large (25k or more). I'm not sure what purpose that serves since I'm not aware of a way to undo script changes once I've saved them. Is there any way to remove the old script history?
  2. I've also noticed that the size of an export file actually increases if I compress the undo history. This seems counter-intuitive to me as I would expect the flavor size to be reduced (again, I'm basing all this on the size of the export files).

Any other input on flavor size/performance would be appreciated.

Thanks for your help!



Accepted Solutions (0)

Answers (2)

Answers (2)

tamas_hoznek
Product and Topic Expert
Product and Topic Expert
0 Kudos

The size of a flavor will only impact the load time when editing it. In runtime, the most recent change for each control is considered and it is loaded from the cache, so the history will not have an effect.

In the editor, more changes may make a difference in load time, since those changes are loaded to support the 'Undo' function.

I'm not sure what's the exact deal with the script history, but I assume this is also considered for Undo, so that's why they are stored.

Compressing the Undo History and getting a larger file size doesn't seem to make sense indeed. I never paid attention to this, so I don't know what could be the reason for it. Will need to test this to see.

bwills
Contributor
0 Kudos

Hi Jeff,

I don't think the size of the script will make that much difference as 25K is pretty small compared to network speeds these days. Most likely you need to do performance enhancements to your scripts. See the links below.

Productivity Power Play Episode 26 (This one is really good)

Productivity Power Play Episode 24

Productivity Power Play Episode 25

Optimizing Techniques in SAP Screen Personas

In the Open SAP website (you may need to signup, but this is free) search for "Personas", there are courses that can help with performance. Specifically check out the "Using SAP Screen Personas for Advanced Scenarios" for Week 5, Unit 1 and Unit 2.

Good luck!

Brian