epimorphics / qonsole

A simple console for running SPARQL queries and displaying results
Other
16 stars 2 forks source link

Elide large resultsets by default #38

Open ijdickinson opened 6 years ago

ijdickinson commented 6 years ago

If a query produces many results (where 'many' probably should be a configurable value in the qonfig.json), allow the query to keep running but don't display all of the results. Goal is to prevent excessive browser memory usage. Instead, provide a show all affordance if the user really does want to re-run the query and render all of the results in browser

paperclipmonkey commented 6 years ago

Will work fine with Table or Text rendering. With JSON: Using a JS library that allows timeouts with partial download we could parse the returned JSON string first and if errors then try to fix (terminate) the file. Similar to: https://gist.github.com/kekscom/10925007 With XML: https://github.com/diffblue/output-repair Example written in C++