Skip to content

Bug(?) Very slow response times #26

@adamtaylor13

Description

@adamtaylor13

I've been experimenting with building some quick shell tools to help manage my projects, and I've noticed that using the CLI seems to be very slow for most tasks.

For example, I have this (simplified) script to check to see if a deployment has finished for a given commit hash:

local deploy_status
deploy_status=$(render deploys list "${SERVICE_ID}" -o text | grep "${commit_sha}" || true)

if echo "${deploy_status}" | grep -q "Live"; then
  echo "It's Live! 🎉"
  echo -e '\a'
  return 0
fi

It can take anywhere between 9 to 42 seconds to complete. I've tested and all of that time is spent in the render deploys list ${SERVICE_ID} part.

Does anyone know why?

(CLI details)

╰ $ render -v
render version 2.1.4
╰ $ which render
/opt/homebrew/bin/render

EDIT: Updated how long it takes to complete. I might've just had one that was REALLY slow (42 seconds) but on average it still seems pretty darn slow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions