From 0215195b0925ba24e1ad7f798a3b569dbfec3916 Mon Sep 17 00:00:00 2001 From: RobertDober Date: Tue, 17 Mar 2020 16:23:30 +0100 Subject: [PATCH] Fixes: #249; DONE: - Fixed acceptance tests (links/, atx_headers, blockquotes, block_ial, comment, div, empty, ~~emph~~, escape, fenced, footnotes, hard_linebreaks, horizontal_rules, html, indented, inline_code, inline_ial, line_breaks, list_and_blocks, list_indent, list, paragraph, reflink, setext, tables, utf8) - Fixed doctests - Fixed and (re)moved regression tests (some are remaining on purpose for now) - Fixed regressions on `acceptance/html` tests - Checked smarty pants output is tested in `acceptance/html` tests - Fixed tests - Dead Code Elimination (html_renderer, inline, more checks in PR Review) - Doc updated - Add tests from real test data - Check for INLINE CODE possibilities => no conclusive performance gain --- test/performance/list_test.exs | 1 + 1 file changed, 1 insertion(+) diff --git a/test/performance/list_test.exs b/test/performance/list_test.exs index c15447ca..48f3c41a 100644 --- a/test/performance/list_test.exs +++ b/test/performance/list_test.exs @@ -14,6 +14,7 @@ defmodule Performance.ListTest do ]) Earmark.as_html!(input) end + # Working since #249 which made list processing O(Prod(elements by level)) instead of exponential test "99_000 lines" do input = make_list([ {"1.", 30}, {"-", 5}, {"23.", 10}, {"*", 6}, {"-", 11}