Guest User

Untitled

a guest
Jun 22nd, 2018
486
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.29 KB | None | 0 0
  1. # System:
  2. # MacBook Pro (15-inch, 2016)
  3. # 2.6 GHz Intel Core i7
  4. # 16 GB 2133 MHz LPDDR3
  5.  
  6. # Editors:
  7. # Atom: 1.28.0 x64
  8. # Code: 1.24.1
  9. # Sublime Text 3: 3.1.1 (3176)
  10.  
  11. # File Generators:
  12.  
  13. # 1GB, 10M lines.
  14. # Code: ~10s, smooth scrolling, instant jumping.
  15. # Sublime: ~50s, smooth scrolling, instant jumping.
  16. # Atom: ~10s, smooth scrolling, very choppy jumping: ~5s loads per jump (also got some error messages about text too large for buffer)
  17. for x in range(10000000):
  18.     print(x, x % 3, x % 10, x % 34, x, x % 3, x % 10, x % 34, x, x % 3, x % 10, x %34, x, x % 3, x % 10, x % 34, x, x % 3, x % 10, x % 34, x, x % 3, x % 10, x % 34)
  19.  
  20. # 1GB, 40k lines.
  21. # Code: ~15s, scrolling somewhat choppy, quick jumping
  22. # Sublime: Application not responding after ~60s, waitied another 60s, no change. Same behavior each of the two times I attempted.
  23. # Atom : ~8s, smooth scroll, ~30s per jump, occasional "Editor is taking too long to load" messages.
  24. #   Note: Atom enforces a maximum line length of ~500 chars before it wraps regardless of word wrap setting. This means the 8s load was only showing a couple lines worth of content. I find this restriction not acceptible for the long-line test case, but including anyways for completeness)
  25. for x in range(40000):
  26.     print('a very long piece of text, ' * 1000)
Advertisement
Add Comment
Please, Sign In to add comment