Package org.auraframework.test.perf.rdp

Examples of org.auraframework.test.perf.rdp.CPUProfilerAnalyzer


        }
        return (Map<String, ?>) retval.get("profile");
    }

    public static JSONObject analyzeCPUProfile(Map<String, ?> profile) throws JSONException {
        return new CPUProfilerAnalyzer(profile).analyze();
    }
View Full Code Here


                break;

            case PROFILE:
                // TODO: filter jsProfilerData?
                metrics.setJSProfilerData(jsProfilerData);
                JSONObject jscpuMetrics = new CPUProfilerAnalyzer(jsProfilerData).analyze();
                metrics.setMetric("Profile.JSCPU.timeProgram", jscpuMetrics.get("timeProgramMillis"), "millis");
                metrics.setMetric("Profile.JSCPU.timeRoot", jscpuMetrics.get("timeRootMillis"), "millis");
                metrics.setMetric("Profile.JSCPU.timeIdle", jscpuMetrics.get("timeIdleMillis"), "millis");
                metrics.setMetric("Profile.JSCPU.timeGC", jscpuMetrics.get("timeGCMillis"), "millis");
                metrics.setMetric("Profile.JSCPU.numIslands", jscpuMetrics.get("numIslands"));
View Full Code Here

TOP

Related Classes of org.auraframework.test.perf.rdp.CPUProfilerAnalyzer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.