markdown-js icon indicating copy to clipboard operation
markdown-js copied to clipboard

hangups on large texts

Open aplib opened this issue 12 years ago • 2 comments

Stress test. I took the sample code from readme and passed in the parameters of the plain text without formatting the volume of 2.5 megabytes. The processing is not executed within 15 minutes, then did not wait. How can handle large texts in parts? A preliminary analysis of markup?

aplib avatar Aug 23 '13 07:08 aplib

Processing of large documents isn't something we've looked into. Can you make your input file available somewhere, in a gist for example?

Do you need to be able to process large files, or is this just for testing purposes? If the latter, I suggest building a simple test runner that will start with 1KB of input and double it each time, seeing how long it takes to return.

evilstreak avatar Aug 23 '13 07:08 evilstreak

I checked whether you can use your component for practical purposes. Long texts can occur for example when the user inserts to the formatted document is an example of the log. There must be some way to realtime processing of such texts.

aplib avatar Aug 23 '13 07:08 aplib