#hey anyone experiencing slowdown in

1 messages · Page 1 of 1 (latest)

tall forge
#

FYI @ashen cobalt

@twilit lion What IDE and Codeium vesrion are you using?

twilit lion
#

thanks for reaching out!

WebStorm 2023.3.6
codeium 1.8.14

#

i'm happy to provide anything you need to reproduce this issuse

if you can't i can show you with screen share like service

timid creek
#

I do too. By a pretty big margin.

It's not a general IDE slowdown, but rather stuttering reaction to inputs in text editor with Codeium enabled. It feels like every 0.5 seconds there's a 0.2 seconds stutter. Gets worse the more you type.

Codeium 1.8.14
Webstorm 2023.3.4
Apple Silicon M2 Max

#

Also the inline autocomplete suggestions while you type sometimes mixing very weirdly with existing text, leaving you wondering what's gonna result from the text. I'll try to provide a specific example. Could you please give me permission for a screenshot upload @tall forge ?

tall forge
#

@timid creek I think you should have permissions by default

ashen cobalt
#

Hi @twilit lion and @timid creek - yes, uploading a screen recording or screenshot would help! If discord doesn't allow cuz of file limits, you can feel free to email me directly at rohan@codeium.com and I'll respond + help debug directly

timid creek
#

Please see that the cursor is usually staying in place, but sometimes jumps ahead(seemingly to the end), and during that jump sometimes stucks in-between characters.

#

Also this is how it feels stuttery(not the worst case, let me code more today to capture more prominent stutter

ashen cobalt
#

Noted the jumpiness here! One thing we'll try to add in is using the official intellij suggested text API (which they recently released) instead of building our own like we currently have had.

timid creek
#

Observation: this lag seems to be impacting my typescript files editing, but not github workflows or JSON configs/translation files.

#

The stutter seems to happen when codeium thinks about what suggestion to provide me next. Happens in typescript mostly(codebase, fully indexed/shared with Codeium is about 22k lines of TS).

Notice when the native jetbrains autocomplete for known properties takes over, the lag stops.

My guess of what's happening: codeium steps into thinking what to suggest between keystrokes, and when that happens it blocks the text editor render thread, which introduces the stutter and leads to the text editor skipping intermediate state because of 2-3 buffered inputs processed at the same time after codeium finishes thinking about the suggestion, but decides to throw them out because of buffered events(state change) while it was thinking.

ashen cobalt
#

Thanks for this better sample! Quick question, do you have the JetBrains AI Assistant Installed and Enabled? We've noticed degraded performance with Codeium when the JetBrains AI Assistant is also running.

timid creek
#

Let me check on their interference

#

It's installed but not activated(license not paid). Let me disable it.

twilit lion
timid creek
#

@ashen cobalt AI assistant and jetbrains full line completions don't impact the lag on my machine

#

What I've noticed makes the lag worse: when laptop runs out of spare RAM and starts utilizing swap instead Which makes sense of course.