joes-sandbox's People
Forkers
baruch ayourtch weixu8 ygabo peterdavehello hbcbh1999 blitzkraft wooodhead neo4reo weimingtom darkwise macowie niravaga pix0r cestdiego samshine bysshe 5up3rc diwangislucky valrcs 0xhellord fyesgo jiakuan crib45 tjaworski venhow wangscript007 alexzhang2015 leongebaobao herroftheland ryanadrig luiscarlosbolanhosjoes-sandbox's Issues
code | Complains "file is very large"
Version 1.15 came out:
Large file support - Improved performance for large files, no size limit on 64-bit machines.
A retest would be cool.
Make editor-perf comparison a routine
Would you like to make this comparison a routine like update every several months? So that it can reflect the improvement in those editors. Some of them evolves quite fast.
please add Howl and Notepadqq to editor-perf
well, the title really says all that's required
ne 3.1.0 is out: could you retest?
Following the results in this test, which highlighted some very old bottlenecks, we worked on major performance improvements and we would be very grateful if could re-run the tests with this new version (in particular, it has full on-disk editing support).
Thanks!
Additional details
- Note which editors are spawning multiple processes
- Note whether or not the UI thread is blocked while an action is being performed
compare nvim
Very interesting results, would you mind to add neovim to your work? Thanks very much!
Atom took 1min to replace 100,000 instances of thing with thang, what gives?
It's probably time to rerun these stats with the latest version of Atom....
provide links in the table
...
Well...
That would really be handy.
And please add nvim (see #4).
Thanks for the work.
editor-perf: nano 3.0 performance
according to https://www.heise.de/forum/heise-Developer/News-Kommentare/Texteditor-Nano-Schnell-schneller-Release-3-0/Text-Editor-Performance-Comparison/thread-5731270/ nano 3.0 is now "70% faster compared to 2.2.6" . It would be fantastic to have nano3 in the comparsion table
Add remacs, neovim and document the benchmarks
Hi,
Really cool benchmarks. Interesting to read. I would like to propose one improvement and two editors to be included in the benchmark.
I think it would be great to see the exact way you used to fulfill the given task. Maybe there are more efficient ways for some editors, that you didn't think of.
Also I think it would be nice to see benchmarks for Remacs and Neovim in comparison to Emacs and Vim.
Overlooked bbedit
This is a longstanding code editor of immense capability that covers all the points in this analysis. It should be included.
Add "kilo" editor
Hey,
These metrics are cool, but can you add a measurement for the Kilo text editor?
It's made by the author of Redis and supports syntax highlighting and other features at just under 1000 lines of code.
Missing ed in "Regular Expression Search and Replace" section
In the Regular Expression Search and Replace, there's no entry for ed
. The test would be
,s/100\|200/EXACT/g
Add textadept editor
Another cool & fast editor made with Lua
try the old textpad for laughs
Long ago, on a P4 with 512 MB memory I edit a TB+ wikipedia xml dump in texpad and my head is still spinning with the question how the #$%#$ they did that. In 0 seconds it just gives you the text and a cursor, it scrolls to whereever you want to go in the file as if it was just a tiny document. Editing just works... some how. Text replace also works. Macros are fast enough to get seemingly absurd jobs done in minutes. Then you hit save and its just done rightaway.
I just paste a 900 kb json into Atom, edited it (a key stroke took 4 seconds) then tried to save it... nothing happened.
You are definitely onto something with this benchmark. Thank you for making it.
Add Intellij
Please add the Sam editor
It's a really old editor written by Rob Pike, with some really nifty regex features, and it'd be interesting to see how it stacks up.
On some distros there's a plan9port package which includes Sam.
emacs could open huge file without any problem
The key point is to turn off inefficient linum-mode
when file is too big.
Set up Emacs to turn off syntax highlight and linum-mode
by adding below code into ~/.emacs
:
(defun buffer-too-big-p ()
(or (> (buffer-size) (* 5000 64))
(> (line-number-at-pos (point-max)) 5000)))
(defun generic-setup ()
;; turn off `linum-mode' when there are more than 5000 lines
(if (buffer-too-big-p) (linum-mode -1)))
(add-hook 'prog-mode-hook 'generic-setup)
(add-hook 'text-mode-hook 'generic-setup)
My complete Emacs setup is at https://github.com/redguardtoo/emacs.d
Linux cli to create huge 3g.txt
:
base64 /dev/urandom | head -c 3000000000 > 3g.txt
Then run emacs -nw 3g.txt
, here is the screenshot. I can edit this file without any problem.
Would be interesting to add microemacs to the test -
http://www.jasspa.com/ This version runs on multiple platforms and extremely fast. It would be interesting to see how it performs when compared to other editors listed here.
Comapre with Vis
Would you be able to add Vis benchmarks on the same hardware please?
Emacs performance in Search & Replace
In the "Simple Search and Replace" benchmark, Emacs seems to have better performance for this test in more recent versions. Also, to test this, I used the replace-string
function rather than query-replace
. On my system, emacs -Q -nw
yields much better performance for this test. This is specifically what I ran:
M-x benchmark RET
Form: (replace-string "thing" "thang" nil (if (use-region-p) (region-beginning)) (if (use-region-p) (region-end)) nil)
This is the result:
Elapsed time: 3.062449s (1.079758s in 28 GCs)
According to these results, Emacs ran this test about 3x faster than the current benchmark.
Here is my version info:
GNU Emacs 25.3.3 (x86_64-apple-darwin17.0.0, NS appkit-1561.00 Version 10.13 (Build 17A405))
Compare with ne
Nice repo! It would be interesting to see how ne
fares.
"reformat"
What does "reformat" mean in context of:
"reformat paragraph composed of two 120K long lines" ?
Compare xi-editor
Xi editor is a young effort at creating a very fast text editor. It is not as mature as any of the other editors listed but probably deserves to be tested on the benchmark. Would be interesting to see how it performs against the rest of them.
Add CudaText
Please use it, only note- to enable loading of huge files, one needs to set option in user.json, named like ....max_size....
Add geany?
I'm curious where geany stands against sublime and notepad++
reformat a paragraph in NVI
In NVI (or in any other vi clone) the way to reformat a paragraph is to pipe it to fmt.
Place the cursor at the beginning of the paragraph ant type: !}fmt
Can you also add bluefish editor
Can you also add bluefish editor please - not that the difference is that big for other GTK based editors I think. But still, for sake of completeness:
http://bluefish.openoffice.nl/index.html
http://bluefish.openoffice.nl/download.html
Can we add CudaText?
CudaText is an open source text editor designed in the ideals of Sublime Text but in FreePascal / Lazarus.
Project GitHub Repository:
https://github.com/Alexey-T/CudaText
There are precompiled binaries available. Let me know if I can do anything to help add this editor to the sandbox. I would love to see how it performs in comparison with other editors.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.