docs: function redrawProfilerCanvas() {
  			updateProfilerConfig();
  			var width;
  			var height;
  			s.height = s.fontSize * 3 + s.padding * 2;
  			if (s.align === "vertical") {
  				width = s.width;
  				height = (s.height + s.margin) * Object.keys(profilerData).length - s.margin;
  			} else {
  				width = (s.width + s.margin) * Object.keys(profilerData).length - s.margin;
  				height = s.height;
  			}
  			profilerCanvas.width = width;
  			profilerCanvas.height = height;
  			if (s.expand) {
  				profilerCanvas.style.width = width * 1.5 + "px";
  				profilerCanvas.style.height = height * 1.5 + "px";
  			} else {
  				profilerCanvas.style.width = width + "px";
  				profilerCanvas.style.height = height + "px";
  			}
  			profilerCanvasContext.font = s.fontSize + "px sans-serif";
  		}