Skip to content

Vectorize Rosenbrock Hessian and add benchmarks#41

Open
farukalpay wants to merge 1 commit intomainfrom
codex/optimize-code-for-speed-and-memory
Open

Vectorize Rosenbrock Hessian and add benchmarks#41
farukalpay wants to merge 1 commit intomainfrom
codex/optimize-code-for-speed-and-memory

Conversation

@farukalpay
Copy link
Copy Markdown
Owner

Summary

  • Vectorize rosenbrock_hess to remove Python-level loops
  • Add pytest-benchmark microbenchmark with tracemalloc memory check
  • Document profiling results and performance table in README

Testing

  • pre-commit run --files src/psd/functions.py benchmarks/test_rosenbrock_hess.py benchmarks/profiling_notes.md benchmarks/rosenbrock_hess_baseline.json README.md
  • PYTHONPATH=src pytest

https://chatgpt.com/codex/tasks/task_e_68aaf6e83ba88323a58de389f3aefe48

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant