all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: edu500ac@gmail.com
To: help-gnu-emacs@gnu.org
Subject: Help for eclipse
Date: Thu, 5 Jun 2014 14:20:57 -0700 (PDT)	[thread overview]
Message-ID: <9bc9b6ed-e5c8-4c0c-949e-8bf90b096d5b@googlegroups.com> (raw)

I have two questions. The first one needs qualification. One of the great things in Vim is the help system. It is very complete, with examples and tutorials in many languages, even in Esperanto and Guarani. I wonder whether there is a similar help system for Evil. Is there? I understand that the Vim community created their help system, and that if Emacs users want one, it is necessary to work for it. However, I don't want to start adapting the Vim help system to Evil if somebody already did it.

The second question is about Eclipse. When I visited their page early this morning, there was a claim saying that Eclipse was downloaded almost 5 millions of times. I wonder how many downloads Emacs have. But the question is not this one. I use Emacs to serve dynamic html pages. It makes sense, because generating dynamic pages requires text processing operations, and Emacs is a text editor. Then I tried to compare the speed of Emacs and Eclipse. I must have done something wrong, because Eclipse is proving to be very slow in my machine. 

While Emacs start up time is considerably less than 1 second (half a second with a lot of plugins), Eclipse is taking 15 seconds, no plugins. Besides this, Eclipse takes almost 10 minutes to accept a game project with  20000 lines of C. Again, flymake checks for erros almost in real time. To make a long story short, Eclipse is proving to be so slow that it is uncomfortable to use productively. Is this true? Is Eclipse very slow?

In any case, I need to bench-mark the start up speed of Emacs. Therefore, I created a file that worked well under normal conditions. Here it is:

;; File: kill.el
(insert "Hello, world!")
(save-buffer)
(kill-emacs)


Here is how to use it:

Kostas$ time emacs test.txt -Q -nw -l kill.el

real	0m0.128s
user	0m0.604s
sys	0m0.043s


I want also the startup time of Emacsclient. Therefore I started Emacs daemon. 

emacs -Q --daemon

However, Emacs client does not have a -l opetion. Therefore, I tried something like this:

Kostas$ time emacsclient -e '(progn (find-file "ttxt.txt") (insert "Message1") (save-buffer))'
nil

real	0m0.014s
user	0m0.001s
sys	0m0.002s
 
My first question is whether there is a way to put the script inside a file, instead of on the command line.



             reply	other threads:[~2014-06-05 21:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-05 21:20 edu500ac [this message]
2014-06-10 23:55 ` Help for eclipse Emanuel Berg
2014-06-11  2:55   ` adrians
2014-06-11 14:16     ` Emanuel Berg
2014-06-13  2:12     ` Rusi
2014-06-13  2:57       ` adrians
2014-06-13  3:02         ` Rusi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9bc9b6ed-e5c8-4c0c-949e-8bf90b096d5b@googlegroups.com \
    --to=edu500ac@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.