#Benchmarking
2 notas · última:
Optimizing Javascript for fun and for profit
The page collects practical JavaScript optimization habits: avoid unnecessary work, string comparisons, shape changes, indirection, cache misses, large objects, and weak data structures, while insisting that benchmarking and profiling come first.
Price per 1M tokens is meaningless
The post argues that per-token pricing is a poor way to compare AI models because tokenizers differ and token efficiency varies. It favors cost per completed task as the more useful metric.
