Changes between Version 3 and Version 4 of GROUP_APP_PERFORMANCE_R0


Ignore:
Timestamp:
05/14/09 20:15:39 (16 years ago)
Author:
gogov
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GROUP_APP_PERFORMANCE_R0

    v3 v4  
    3939 
    4040= Design = 
    41 ^(Describe your design here.)^ 
     41After playing with the vm arguments and launch configurations I figured out that using the HPROF profiler of the JVM may be omitted to improve development process. 
     42 
     43In the '''author.FakeAuthorMain.launch''' conf file there a '''-agentlib:hprof=cpu=samples,interval=5,depth=30''' argument passed to the JVM. 
     44 
     45This means that a profiler thread runs each 5 milliseconds, gathers information from the running Sophie process, and then sleeps again. 
     46 
     47This is useful when developing something for Sophie with the intent to use this performance log for optimizations. 
     48 
     49In most cases this isn't the case so using the profiler is pointless. 
     50 
     51Turning it off leads to 20-30% startup time reduction which is significant, so I'll remove this from the '''author.FakeAuthorMain.launch''' (and '''reader.FakeReaderMain.launch''' respectively). 
     52 
     53For convenience, I'll create '''author.FakeAuthorMain-Debug.launch''' (and '''reader.FakeReaderMain-Debug.launch''' respectively), which have this option turned on. In the future more similar differences might occur.  
    4254 
    4355= Implementation =