Firebase Studio is too slow sluggish

Hi, we’re making some improvements and are actively working on this. It would be particularly helpful if you’re still seeing slow/sluggish behavior if you could press the ‘</>’ button in the top right of the screen to switch to Code mode, then run the following commands in the terminal and share the output:

First command: du -sh ~/.idx/ai/*

Second command: du -sh /home/user/studio/*

Additionally it would be good to know:

  1. Have you uploaded any images in your chat?
  2. If yes, how many?

Thank you!!

1 Like

I’ve worked on several projects in Firebase studio and I can share with you my experiences:

  • I typically work with 1gbps or higher internet speeds on relatively new hardware, latest version of Chrome. Windows, Linux, and MacOS
  • I have had to remove items from context on more than once occcasion to try and speed things up.
  • I frequently get chat ‘hangs,’ usually when I’ve asked for too much. This is only via the Prototyper. The gemini window in </> code view seems to be fine
  • My sessions will frequently crash altogether and I have to reset my instance, but sometimes that doesn’t work, and I get a “Error opening workspace: We are currently experiencing increased load. Please come back and try again later.”
  • I’ve noticed that when things get slow, they get slow in the terminal too. This leads me to believe it’s a provisioning / resource challenge on my nixos instance.
  • Frequently, HMR doesn’t work and I’d like to Hard Restart the entire app – can you make that option available from the Prototyper screen?
  • I do love the product and hope you’re able to improve performance. It would be nice if, when I give it an error to fix, it didn’t fill up my context with all of the information from the error. (This is especially true when I have to tell it 4 or 5 times to fix it before it figures out the issue).
  • I have not uploaded any images. The largest project I have is a Next.js app with a 15 table sqlite database, about 40 rows per table, 8-12 fields / table.
  • I’ve tried competitor products that don’t allow access to the terminal…and I’ll never use them for that very reason- thank you for letting us access it!
$ du -sh ~/.idx/ai/*
812K    /home/user/.idx/ai/capra-context-state.json
1.0M    /home/user/.idx/ai/capra-thread.json~
2.4M    /home/user/.idx/ai/prototyper-thread.json
2.3M    /home/user/.idx/ai/threads
$ du -sh /home/user/studio/*

4.0K    /home/user/studio/apphosting.yaml
4.0K    /home/user/studio/components.json
3.8M    /home/user/studio/data
8.0K    /home/user/studio/docs
4.0K    /home/user/studio/jest.config.js
4.0K    /home/user/studio/next.config.ts
4.0K    /home/user/studio/next-env.d.ts
1.1G    /home/user/studio/node_modules*
4.0K    /home/user/studio/package.json
540K    /home/user/studio/package-lock.json
4.0K    /home/user/studio/postcss.config.mjs
180K    /home/user/studio/public
4.0K    /home/user/studio/README.md
8.0K    /home/user/studio/scripts
1.8M    /home/user/studio/src
4.0K    /home/user/studio/tailwind.config.ts
108K    /home/user/studio/tests
4.0K    /home/user/studio/tsconfig.json```

* I'm not proud of this

Let me know how else I can help! Thank you!
1 Like

as an update, today, July 06, 2025 at around 3:30 pm EST, the site became entirely unusable, but only for one of my projects. Other projects still spun up. Seems like an infrastructure issue?

1 Like
  • Executing task: (set -o pipefail && du -sh ~/.idx/ai/* 2>&1 | tee /tmp/ai.1.log)

636K /home/user/.idx/ai/capra-context-state.json
6.5M /home/user/.idx/ai/prototyper-thread.json
16K /home/user/.idx/ai/threads

  • Terminal will be reused by tasks, press any key to close it.

  • Executing task: (set -o pipefail && du -sh /home/user/studio/* 2>&1 | tee /tmp/ai.1.log)

4.0K /home/user/studio/components.json
8.0K /home/user/studio/docs
4.0K /home/user/studio/next.config.ts
4.0K /home/user/studio/next-env.d.ts
976M /home/user/studio/node_modules
4.0K /home/user/studio/package.json
360K /home/user/studio/package-lock.json
4.0K /home/user/studio/postcss.config.mjs
4.0K /home/user/studio/README.md
560K /home/user/studio/src
4.0K /home/user/studio/tailwind.config.ts
4.0K /home/user/studio/tsconfig.json

  • Terminal will be reused by tasks, press any key to close it.

can you help fix my app is broke?

1 Like

You are right it’s shows error sometimes and then it also give message to fix it but after we fix it.They show another error.

Yeah, a googler acknowledges that it’s not for production use. They’ve also said that they are aware of the bugs but don’t have a timeline as of now.

1 Like

Answers take ages, 30 minutes and more. (pro 06-05, only using coding workspace) (using chrome, and have extremely fast broadband access. no images.). But each time when i interrupt, close the workspace and re-open it, then the answer is immediately there…

It has to do with the longer dev history/context of the GUI i am working on. when i ask a non-directly to this related question, then i get much faster answers.

studio-4627149865:~/studio{master}$ du -sh ~/.idx/ai/*
92K /home/user/.idx/ai/capra-context-state.json
184K /home/user/.idx/ai/prototyper-thread.json
9.7M /home/user/.idx/ai/threads
studio-4627149865:~/studio{master}$ du -sh /home/user/studio/*
4.0K /home/user/studio/apphosting.yaml
4.0K /home/user/studio/components.json
8.0K /home/user/studio/docs
4.0K /home/user/studio/firebase.deployment.json
4.0K /home/user/studio/firebase.json
4.0K /home/user/studio/next.config.ts
4.0K /home/user/studio/next-env.d.ts
975M /home/user/studio/node_modules
4.0K /home/user/studio/package.json
360K /home/user/studio/package-lock.json
4.0K /home/user/studio/postcss.config.mjs
4.0K /home/user/studio/README.md
12K /home/user/studio/README.txt
572K /home/user/studio/src
4.0K /home/user/studio/tailwind.config.ts
4.0K /home/user/studio/tsconfig.json

2 Likes

Same here its super slow and sometimes i have to do the prompt several times. Internetspeed is 1Gb

du -sh /.idx/ai/*

2.9M /home/user/.idx/ai/prototyper-context-state.json
33M /home/user/.idx/ai/prototyper-thread.json
14M /home/user/.idx/ai/threads

du -Sh/home/user/studio/*

4.0K /home/user/studio/apphosting.yaml
4.0K home/user/studio/components.json
8.0K home/user/studio/docs
8.0K /home/user/studio/firestore.rules
4.0K /home/user/studio/next.config.ts
4.0K home/user/studio/next-env.d.ts
1006M home/user/studio/node_modules
4.0K /home/user/studio/package.json
376K /home/user/studio/package-lock.json
4.0K /home/user/studio/postcss.config.mjs
12K /home/user/studio/public
4.0K home/user/studio/README.mc
39K /home/user/studio/server-actions.log
1.5M home/user/studio/src
4.0K /home/user/studio/tailwind.config.

1 Like

I experienced this and it was quite odd, because as soon as it happened once, it triggered a feedback loop where it continued to do this for every prompt until I reset the context and ran /clear

1 Like

The last 3 days and can’t do anything because i get a crash screen when i open the prototype. The coding area works but seems to be very dumb and doesn’t do what i tell gemini. How can i fix that?

Specially in the evening time in india..rounding in “Setting up oworkspace” ..waiting waiting