ninjudd / cake

A tasty build tool for Clojure.
clojure-cake.org
Eclipse Public License 1.0
171 stars 12 forks source link

Increase Cake baud rate #116

Closed pepijndevos closed 13 years ago

pepijndevos commented 13 years ago

Okay, I'm sure there's no baud rate setting somewhere, but entering stuff in Cake has become so painfully slow that I've switched to Lein for most stuff.

For example, when I paste something, it comes in at around typing speed. When I remove something, I always remove an extra character. When I enter something, I have to wait for it to appear.

I have no idea where to look. The problem persisted across a few versions, but Lein and other apps using Readline or Clojure work fast.

ninjudd commented 13 years ago

One thing I've noticed that makes Readline slow is paren matching. Do you have that enabled in ~/.inputrc by any chance?

pepijndevos commented 13 years ago

It says set blink-matching-paren on, so I guess I have, but unless I actually have to reboot, it doesn't help. Note that Lein also does this.

Raynes commented 13 years ago

I've wondered about this as well, but it hasn't bothered me. If it is slow to paste something, I can just hit 'space' and it types the remainder out instantaneously.

ninjudd commented 13 years ago

Turning off 'set blink-matching-paren on' fixes it immediately for me once I restart cake. Perhaps your issue is something else. Does @Raynes tip of hitting space work for you?

davidsantiago commented 13 years ago

Two questions. Are you noticing this in either a Slime repl in emacs, or in iTerm 2? I've noticed that both of those can get extremely slow when entering text.

On Tue, May 31, 2011 at 9:48 AM, pepijndevos reply@reply.github.com wrote:

Okay, I'm sure there's no baud rate setting somewhere, but entering stuff in Cake has become so painfully slow that I've switched to Lein for most stuff.

For example, when I paste something, it comes in at around typing speed. When I remove something, I always remove an extra character. When I enter something, I have to wait for it to appear.

I have no idea where to look. The problem persisted across a few versions, but Lein and other apps using Readline or Clojure work fast.

Reply to this email directly or view it on GitHub: https://github.com/ninjudd/cake/issues/116

pepijndevos commented 13 years ago

I'm using the regular Mac terminal. Pressing space brings in pasted text instantly, but paren matching does not seem to effect this. After I turned it off and killed Cake, it is still sluggish... sometimes. Especially pasting and pressing the up/down keys are slow now.

ninjudd commented 13 years ago

Can you post the entire contents of your ~/.inputrc, please?

On Tuesday, May 31, 2011 at 9:10 AM, pepijndevos wrote:

I'm using the regular Mac terminal. Pressing space brings in pasted text instantly, but paren matching does not seem to effect this. After I turned it off and killed Cake, it is still sluggish... sometimes. Especially pasting and pressing the up/down keys are slow now.

Reply to this email directly or view it on GitHub: https://github.com/ninjudd/cake/issues/116#comment_1268108

pepijndevos commented 13 years ago

It's just that single line, nothing else there.

Groeten,

Pepijn de Vos

Sent from my iPod Shuffle http://pepijndevos.nl

On May 31, 2011, at 6:16 PM, ninjudd wrote:

Can you post the entire contents of your ~/.inputrc, please?

On Tuesday, May 31, 2011 at 9:10 AM, pepijndevos wrote:

I'm using the regular Mac terminal. Pressing space brings in pasted text instantly, but paren matching does not seem to effect this. After I turned it off and killed Cake, it is still sluggish... sometimes. Especially pasting and pressing the up/down keys are slow now.

Reply to this email directly or view it on GitHub: https://github.com/ninjudd/cake/issues/116#comment_1268108

Reply to this email directly or view it on GitHub: https://github.com/ninjudd/cake/issues/116#comment_1268148

ninjudd commented 13 years ago

Do you see this same problem in irb?

On Tuesday, May 31, 2011 at 9:21 AM, pepijndevos wrote:

It's just that single line, nothing else there.

Groeten,

Pepijn de Vos

Sent from my iPod Shuffle http://pepijndevos.nl

On May 31, 2011, at 6:16 PM, ninjudd wrote:

Can you post the entire contents of your ~/.inputrc, please?

On Tuesday, May 31, 2011 at 9:10 AM, pepijndevos wrote:

I'm using the regular Mac terminal. Pressing space brings in pasted text instantly, but paren matching does not seem to effect this. After I turned it off and killed Cake, it is still sluggish... sometimes. Especially pasting and pressing the up/down keys are slow now.

Reply to this email directly or view it on GitHub: https://github.com/ninjudd/cake/issues/116#comment_1268108

Reply to this email directly or view it on GitHub: https://github.com/ninjudd/cake/issues/116#comment_1268148

Reply to this email directly or view it on GitHub: https://github.com/ninjudd/cake/issues/116#comment_1268185

pepijndevos commented 13 years ago

Yes. Is there any Ruby lib I need to upgrade? irb seems to come from MacPorts, btw.

On May 31, 2011, at 7:54 PM, ninjudd wrote:

Do you see this same problem in irb?

On Tuesday, May 31, 2011 at 9:21 AM, pepijndevos wrote:

It's just that single line, nothing else there.

Groeten,

Pepijn de Vos

Sent from my iPod Shuffle http://pepijndevos.nl

On May 31, 2011, at 6:16 PM, ninjudd wrote:

Can you post the entire contents of your ~/.inputrc, please?

On Tuesday, May 31, 2011 at 9:10 AM, pepijndevos wrote:

I'm using the regular Mac terminal. Pressing space brings in pasted text instantly, but paren matching does not seem to effect this. After I turned it off and killed Cake, it is still sluggish... sometimes. Especially pasting and pressing the up/down keys are slow now.

Reply to this email directly or view it on GitHub: https://github.com/ninjudd/cake/issues/116#comment_1268108

Reply to this email directly or view it on GitHub: https://github.com/ninjudd/cake/issues/116#comment_1268148

Reply to this email directly or view it on GitHub: https://github.com/ninjudd/cake/issues/116#comment_1268185

Reply to this email directly or view it on GitHub: https://github.com/ninjudd/cake/issues/116#comment_1268843

ninjudd commented 13 years ago

I use Homebrew, and the ruby installed by that works for me. I've also confirmed that the standard OS X ruby in /usr/bin/ works as well.

On Tuesday, May 31, 2011 at 10:57 AM, pepijndevos wrote:

Yes. Is there any Ruby lib I need to upgrade? irb seems to come from MacPorts, btw.

On May 31, 2011, at 7:54 PM, ninjudd wrote:

Do you see this same problem in irb?

On Tuesday, May 31, 2011 at 9:21 AM, pepijndevos wrote:

It's just that single line, nothing else there.

Groeten,

Pepijn de Vos

Sent from my iPod Shuffle http://pepijndevos.nl

On May 31, 2011, at 6:16 PM, ninjudd wrote:

Can you post the entire contents of your ~/.inputrc, please?

On Tuesday, May 31, 2011 at 9:10 AM, pepijndevos wrote:

I'm using the regular Mac terminal. Pressing space brings in pasted text instantly, but paren matching does not seem to effect this. After I turned it off and killed Cake, it is still sluggish... sometimes. Especially pasting and pressing the up/down keys are slow now.

Reply to this email directly or view it on GitHub: https://github.com/ninjudd/cake/issues/116#comment_1268108

Reply to this email directly or view it on GitHub: https://github.com/ninjudd/cake/issues/116#comment_1268148

Reply to this email directly or view it on GitHub: https://github.com/ninjudd/cake/issues/116#comment_1268185

Reply to this email directly or view it on GitHub: https://github.com/ninjudd/cake/issues/116#comment_1268843

Reply to this email directly or view it on GitHub: https://github.com/ninjudd/cake/issues/116#comment_1268860

pepijndevos commented 13 years ago

Right, works for me as well. So that means /usr/bin/gem install cake will make all problems go away? Thanks!

On May 31, 2011, at 8:01 PM, ninjudd wrote:

I use Homebrew, and the ruby installed by that works for me. I've also confirmed that the standard OS X ruby in /usr/bin/ works as well.

On Tuesday, May 31, 2011 at 10:57 AM, pepijndevos wrote:

Yes. Is there any Ruby lib I need to upgrade? irb seems to come from MacPorts, btw.

On May 31, 2011, at 7:54 PM, ninjudd wrote:

Do you see this same problem in irb?

On Tuesday, May 31, 2011 at 9:21 AM, pepijndevos wrote:

It's just that single line, nothing else there.

Groeten,

Pepijn de Vos

Sent from my iPod Shuffle http://pepijndevos.nl

On May 31, 2011, at 6:16 PM, ninjudd wrote:

Can you post the entire contents of your ~/.inputrc, please?

On Tuesday, May 31, 2011 at 9:10 AM, pepijndevos wrote:

I'm using the regular Mac terminal. Pressing space brings in pasted text instantly, but paren matching does not seem to effect this. After I turned it off and killed Cake, it is still sluggish... sometimes. Especially pasting and pressing the up/down keys are slow now.

Reply to this email directly or view it on GitHub: https://github.com/ninjudd/cake/issues/116#comment_1268108

Reply to this email directly or view it on GitHub: https://github.com/ninjudd/cake/issues/116#comment_1268148

Reply to this email directly or view it on GitHub: https://github.com/ninjudd/cake/issues/116#comment_1268185

Reply to this email directly or view it on GitHub: https://github.com/ninjudd/cake/issues/116#comment_1268843

Reply to this email directly or view it on GitHub: https://github.com/ninjudd/cake/issues/116#comment_1268860

Reply to this email directly or view it on GitHub: https://github.com/ninjudd/cake/issues/116#comment_1268886

ninjudd commented 13 years ago

Glad to hear it. I'm going to go ahead and close this.