Commit Graph
14 Commits
Author SHA1 Message Date
Nuno Campos 55d79b1507 Use unique cache keys 2024-09-13 16:42:59 -07:00
Nuno CamposandGitHub 95b97d69ec Nc/12sep/perf (#1702)
* Remove unused fil;e

* Add benchmark-fast command for running locally

* Small improvements to jsonplus serializer

* Don't use PregelNode.mapper when schema is a typed dict

- All it would do is create a new copy of same dict

* Avoid copying checkpoint when fetching at beginning of loop

* Fix needs array

* Update tests
2024-09-12 12:50:53 -07:00
Nuno CamposandGitHub dd0c17dda9 ci: Cache baseline benchmark results (#1701) 2024-09-12 11:06:31 -07:00
Nuno CamposandGitHub 8f87cd1c91 Performance improvements in core library (#1683)
* Performance improvements in core library

- Avoid creating new callback manager when received one as arg
- Avoid looking for config when already received one as arg
- Avoid copies of values in ensure_config/merge_configs
- Implement version of ensure_config that accepts multiple configs (avoids calling merge_configs first)
- Avoid calling merge_configs when we only need to attach extra tags/metadata

* Fix

* Fix

* Try again

* Debug ci job

* Fix

* Try again

* Try again

* Try again

* Some more variations

* Attach annotation to first changed file

* Fix

* Re-enable benchmarks
2024-09-12 11:01:37 -07:00
Nuno CamposandGitHub 33017b53d0 Update bench.yml 2024-09-11 16:38:06 -07:00
Nuno Campos 50744bc846 Fix 2024-09-11 13:43:24 -07:00
Nuno Campos f179da00a0 update bench job 2024-09-11 13:41:45 -07:00
Nuno Campos de2850332d Rename 2024-09-11 12:27:10 -07:00
Nuno Campos bf4f8e67d8 Rename command 2024-09-11 12:25:22 -07:00
Nuno Campos 5f2e9aafce Fix 2024-09-11 12:22:18 -07:00
Nuno Campos 51b8cfca54 fix 2024-09-11 12:20:48 -07:00
Nuno Campos 309b259735 One more 2024-09-11 12:18:35 -07:00
Nuno Campos c00e8c2b46 Fix 2024-09-11 12:17:56 -07:00
Nuno Campos 710b4179da Add ci job 2024-09-11 12:14:06 -07:00