Skip to content

Conversation

@devsjc
Copy link
Contributor

@devsjc devsjc commented Jan 21, 2026

Contribution Checklist

  • Have you followed the Open Climate Fix Contribution Guidelines?
  • Have you referenced the Issue this PR addresses, where applicable?
  • Have you checked to ensure there aren't other open Pull Requests for the same change?
  • Have you added a summary of the changes?
  • Have you written new tests for your changes, where applicable?
  • Have you successfully run make lint with your changes locally?
  • Have you successfully run make test with your changes locally?

Warning

PRs may be closed if all the above boxes are not checked.

Changes in this Pull Request

Fixes the benchmark workflow.

@github-actions
Copy link

Benchmark Results

Benchmark results
?   	github.com/openclimatefix/data-platform/cmd	[no test files]
?   	github.com/openclimatefix/data-platform/internal/gen/ocf/dp	[no test files]
?   	github.com/openclimatefix/data-platform/internal/interceptors	[no test files]
PASS
ok  	github.com/openclimatefix/data-platform/internal/server/dummy	0.005s
{"level":"debug","time":"2026-01-21T09:42:11Z","message":"Completed migrations"}
goos: linux
goarch: amd64
pkg: github.com/openclimatefix/data-platform/internal/server/postgres
cpu: AMD EPYC 7763 64-Core Processor                
BenchmarkPostgresClient/2400000/GetForecastAsTimeseries-4         	       2	 822971668 ns/op
BenchmarkPostgresClient/2400000/GetForecastAtTimestamp-4          	      80	  14731715 ns/op
BenchmarkPostgresClient/2400000/GetObservationsAsTimeseries-4     	     990	   1139326 ns/op
BenchmarkPostgresClient/2400000/CreateForecast-4                  	      60	  18990129 ns/op
PASS
ok  	github.com/openclimatefix/data-platform/internal/server/postgres	317.905s
?   	github.com/openclimatefix/data-platform/internal/server/postgres/gen	[no test files]

@devsjc devsjc merged commit 784f676 into main Jan 21, 2026
2 checks passed
@devsjc devsjc deleted the devsjc/bench-workflow-fix branch January 21, 2026 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants