A semi-automated tests to analyze memory leaks

The list of features loaded by the editor in this test could be outdated. Make sure as many features as possible are loaded, the all-features test is the right place to copy from.

  1. Open DevTools on Chrome.
  2. Go to Memory tab.
  3. Start the test by clicking the button (if you see the "gc is not defined" error, see Notes below).
  4. Take a snapshot (you don't need to GC manually).
  5. Run another cycle.
  6. Take another snapshot.
  7. Repeat the process a couple of times.
  8. Analyze the memory consumption by comparing the snapshots. It should not grow dramatically, that is more than ~.2MB per 10 initializations/destructions (1 cycle).

Notes:

Browser extensions might attach event listeners to the DOM, so the safest way to run this test is by running Chrome in guest mode.

This manual test also requires the browser to expose the gc() function.

To prepare the browser, close all Chrome windows first (the whole app), then (on Mac):

/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --guest --js-flags="--expose-gc"
	

If you don't close all Chrome windows first, the --expose-gc flag will not work.

Lists in the table

Bulleted list Numbered list To do list
  • UL List item 1
  • UL List item 2
  1. OL List item 1
  2. OL List item 2

Basic features overview

Lorem ipsum dolor sit amet, consectetur adipisicing elit.1

Basic styles

Ad alias, architecto culpa cumque dignissimos dolor eos incidunt ipsa itaque laboriosam magnam molestias nihil numquam odit quam, suscipit veritatis voluptate voluptatum.2

Image

bar
Caption

Blockquote

Quote

Quote

 

Media with previews in the table

Service Preview URL
YouTube
https://www.youtube.com/watch?v=ZVv7UMQPEWk
Vimeo
https://vimeo.com/1084537

Code blocks in the table

Language Code snippet Language Code snippet
CSS
body {
	color: red;
}

p {
	font-size: 10px;
}
PHP
<?php

function dump( array ...$args ) {
	foreach ( $args as $item ) {
		var_dump( $item );
	}

	die;
}
JavaScript
function foo() {
	console.log( 'indented using 1 tab' );
}

function bar() {
    console.log( 'indented using spaces' );
}
Plaintext
Plain text

Link images + Link decorators

Linked text Linked image (figure > a > img) Linked image (a > img)

https://cksource.com

bar
Caption
bar
 

HTML embed

<details> and <summary> tags as HTML snippet

Details Something small enough to escape casual notice.

<video> tag as HTML snippet

<iframe> tag as HTML snippet

Paste from Office

Paste here:

Text part language

Un lenguaje (del provenzal lenguatge y este del latín lingua) es un sistema de comunicación estructurado para el que existe un contexto de uso y ciertos principios combinatorios formales. Existen contextos tanto naturales como artificiales.

اللغة نسق من الإشارات والرموز، يشكل أداة من أدوات المعرفة، وتعتبر اللغة أهم وسائل التفاهم والاحتكاك بين أفراد امجتمع في جميع ميادين الحياة. وبدون اللغة يتعذر نشاط الناس المعرفي.

HTML comments

Paragraph

Table cell #1 Table cell #2 Table cell #3
  1. Item #1
  2. Item #2
  3. Item #3
    • Nested item #3.1
    • Nested item #3.2
    • Nested item #3.3