All Downloads are FREE. Search and download functionalities are using the official Maven repository.

elemental2.dom.Performance Maven / Gradle / Ivy

There is a newer version: 1.0.139
Show newest version
package elemental2.dom;

import jsinterop.annotations.JsPackage;
import jsinterop.annotations.JsType;

@JsType(isNative = true, namespace = JsPackage.GLOBAL)
public class Performance {
  public PerformanceNavigation navigation;
  public PerformanceTiming timing;

  public native void clearMarks();

  public native void clearMarks(String markName);

  public native void clearMeasures();

  public native void clearMeasures(String measureName);

  public native void clearResourceTimings();

  public native PerformanceEntry[] getEntries();

  public native PerformanceEntry[] getEntriesByName(String name, String entryType);

  public native PerformanceEntry[] getEntriesByName(String name);

  public native PerformanceEntry[] getEntriesByType(String entryType);

  public native void mark(String markName);

  public native void measure(String measureName, String startMark, String endMark);

  public native void measure(String measureName, String startMark);

  public native void measure(String measureName);

  public native double now();

  public native void setResourceTimingBufferSize(int maxSize);

  public native void webkitClearResourceTimings();

  public native double webkitNow();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy