Bug 384128 - kate/kwrite become unusable with bigger JSON strings
Summary: kate/kwrite become unusable with bigger JSON strings
Status: RESOLVED DUPLICATE of bug 345775
Alias: None
Product: kate
Classification: Applications
Component: part (show other bugs)
Version: 17.08.0
Platform: openSUSE Linux
: NOR major
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-29 08:01 UTC by Alexander Semke
Modified: 2018-08-16 21:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
generated JSON string (145.50 KB, application/zip)
2017-08-29 08:01 UTC, Alexander Semke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Semke 2017-08-29 08:01:44 UTC
Created attachment 107571 [details]
generated JSON string

To reproduce a problem, open a file with some JSON content having couple of hundreds of KBs in size. After removing the limitation for the number of shown characters, kate becomes unusable. Navigation, scrolling, etc. is hardly possible and the CPU consumption is very high. It's not even possible to work with a 500kB file on a machine with 12 cores. Attached is an example file (generated with json-generator.com) causing such problems. Visual Studio Code for example doesn't have any performance issues with such files.
Comment 1 Christoph Cullmann 2018-08-16 21:13:30 UTC

*** This bug has been marked as a duplicate of bug 345775 ***