Skip to content

Cache local data #114

@MarkSRobinson

Description

@MarkSRobinson

Performance can be pretty bad when running queries and it's likely due to having to fetch data every time.

eg:

time ec2-instance-selector --memory-min 128 --vcpus-min 33 --cpu-architecture x86_64 -r us-east-1 -o table --max-results 200 --allow-list "m5\.*"

________________________________________________________
Executed in   21.87 secs      fish           external
   usr time  676.80 millis    0.25 millis  676.56 millis
   sys time  246.06 millis    1.39 millis  244.67 millis

I would be nice if the background data could be cached for a little while (5-60m would be a good default)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions