Skip to content

Add Brent to the solver benchmark table in the README - #27

Merged
tubedude merged 1 commit into
mainfrom
readme-brent-bench
Jul 6, 2026
Merged

Add Brent to the solver benchmark table in the README#27
tubedude merged 1 commit into
mainfrom
readme-brent-bench

Conversation

@tubedude

@tubedude tubedude commented Jul 6, 2026

Copy link
Copy Markdown
Owner

The comparison table listed safeguarded Newton, plain Newton, and pure bisection but omitted the shipped Finance.Solver.Brent. Regenerated all columns from a single benchmark run and added Brent.

Result: Brent ties the default on the 4-flow set, and is ~1.3× faster on the 60-period loan and ~1.7× on the 480-period loan (24 evals · 0.86 ms vs 31 evals · 1.5 ms) — it spends one NPV evaluation per step instead of two. Prose updated to match.

Docs-only.

🤖 Generated with Claude Code

The comparison listed safeguarded Newton, plain Newton, and bisection but not
the shipped Brent solver. Regenerate all columns from one run and add Brent:
it ties the default on short flows and is ~1.3–1.7x faster as flows lengthen.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AVibXT2w1dEdVtMHqffFKn
@tubedude
tubedude merged commit d1140b1 into main Jul 6, 2026
4 checks passed
@tubedude
tubedude deleted the readme-brent-bench branch July 6, 2026 01:00
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 100.0%. remained the same — readme-brent-bench into main

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