ScratchABit icon indicating copy to clipboard operation
ScratchABit copied to clipboard

Load testing

Open pfalcon opened this issue 7 years ago • 2 comments

ScratchABit generally works well for typical "embedded" size of projects, on the order of 1MB of raw code. It's also written in a way "aware" of potential bottlenecks, e.g. common operations, like browsing around and DB saving are optimized, operation which are known to be "not instant", e.g. complete disassembly write-out or full-text search, have progress indicators.

However, would be useful to perform more dedicated load testing on bigger files. Following areas can be identified:

  1. Opening of structure executable/object formats (currently ELF is supported). For example, parsing ELF files with big string tables may take noticeable time (handled by 3rd-part lib). E.g., would be nice to test performance of loading tens-of-MB ELF files.
  2. Testing saving of projects with 8MB or more of raw binary code.
  3. Like above, but disassembly writing/full-text search.

pfalcon avatar Jan 30 '18 21:01 pfalcon

E.g., for text search https://github.com/pfalcon/ScratchABit/issues/21 should be implemented.

pfalcon avatar Jan 30 '18 21:01 pfalcon

Testing saving of projects with 8MB or more of raw binary code.

Should be facilitated by https://github.com/pfalcon/ScratchABit/commit/6c554a03c750e864c3a4ec9ddb0e2aa04e9977c3

pfalcon avatar Jan 30 '18 22:01 pfalcon