bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#31138: Native json slower than json.el


From: Dmitry Gutov
Subject: bug#31138: Native json slower than json.el
Date: Tue, 16 Apr 2019 19:23:11 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

On 16.04.2019 19:10, Eli Zaretskii wrote:
Cc: address@hidden, address@hidden, address@hidden
From: Dmitry Gutov <address@hidden>
Date: Tue, 16 Apr 2019 18:30:08 +0300

The script and report are attached.

Thanks, can you also show the sample-response.json file?

It's an output from a code assistance tool listing all classes in our internal application, including libraries. I probably shouldn't distribute it.

But it's basically a long list of entries like:

[["Gem::Licenses",null,"suggestions",[["req","license"]],"/home/dgutov/.rbenv/versions/2.6.1/lib/ruby/2.6.0/rubygems/util/licenses.rb",429],["Gem::Licenses",null,"match?",[["req","license"]],"/home/dgutov/.rbenv/versions/2.6.1/lib/ruby/2.6.0/rubygems/util/licenses.rb",425],["URI::Generic",null,"use_proxy?",[["req","hostname"],["req","addr"],["req","port"],["req","no_proxy"]],"/home/dgutov/.rbenv/versions/2.6.1/lib/ruby/2.6.0/uri/generic.rb",1545],["URI::Generic",null,"default_port",[],"/home/dgutov/.rbenv/versions/2.6.1/lib/ruby/2.6.0/uri/generic.rb",33],["URI::Generic",null,"component",[],"/home/dgutov/.rbenv/versions/2.6.1/lib/ruby/2.6.0/uri/generic.rb",58], ...

If you think it would help, I can anonymize it and send the result, but large.json posted by Ivan here previously shows the same performance characteristics, I think.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]