chetanmeh commented on issue #4509: Analyze OpenWhisk Scala compilation for performance URL: https://github.com/apache/openwhisk/issues/4509#issuecomment-569530459 Profiling with `-Ystatistics` flag post pureconfig related optimizations ``` *** Cumulative timers for phases #total compile time : 1 spans, ()40351.618ms parser : 1 spans, ()2254.276ms (5.6%) namer : 1 spans, ()364.664ms (0.9%) packageobjects : 1 spans, ()156.344ms (0.4%) typer : 1 spans, ()15632.499ms (38.7%) patmat : 1 spans, ()2686.365ms (6.7%) superaccessors : 1 spans, ()292.228ms (0.7%) extmethods : 1 spans, ()115.676ms (0.3%) pickler : 1 spans, ()198.844ms (0.5%) xsbt-api : 1 spans, ()2639.931ms (6.5%) xsbt-dependency : 1 spans, ()833.732ms (2.1%) refchecks : 1 spans, ()850.849ms (2.1%) uncurry : 1 spans, ()938.083ms (2.3%) fields : 1 spans, ()492.616ms (1.2%) tailcalls : 1 spans, ()257.213ms (0.6%) specialize : 1 spans, ()845.471ms (2.1%) explicitouter : 1 spans, ()233.063ms (0.6%) erasure : 1 spans, ()2262.172ms (5.6%) posterasure : 1 spans, ()177.216ms (0.4%) lambdalift : 1 spans, ()397.438ms (1.0%) constructors : 1 spans, ()247.595ms (0.6%) flatten : 1 spans, ()134.042ms (0.3%) mixin : 1 spans, ()1405.549ms (3.5%) cleanup : 1 spans, ()140.578ms (0.3%) delambdafy : 1 spans, ()403.887ms (1.0%) jvm : 1 spans, ()6313.895ms (15.6%) xsbt-analyzer : 1 spans, ()20.235ms (0.1%) Completed Scala compilation: 47.163 secs ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
