function ProfilingTab(parent, closeable, container, index)
{
	TabComponent.call(this, parent, closeable, container, index, Locale.profiling, Global.FILE_PATH + "icons/misc/speedometer.png");

	/**
	 * Canvas used to draw the profilling graphs.
	 * 
	 * @attribute canvas
	 * @type {Canvas}
	 */
	this.canvas = new Canvas(this);
	this.canvas.watchPointer();

	this.group = new Object2D();

	this.viewport = new Viewport(this.canvas.element);

	this.renderer = new Renderer(this.canvas.element);

	this.controls = new ViewportControls(this.viewport);

	var box = new Box();
	box.position.set(-100, 0);
	this.group.add(box);

	var circle = new Circle();
	circle.position.set(100, 0);
	circle.radius = 50;
	this.group.add(circle);
}
Profiling tab is used to measure the performance of the application booth in the editor and while it is running.

Can measure FPS, CPU usage, memory etc, some metrics may only be available when the editor is running in desktop.

@constructor
@class ProfilingTab
@extends {TabComponent}
@param parent
@param closeable
@param container
@param index