Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sqlalchemy/sqlalchemy
/ Customer
Class
Customer
examples/performance/single_inserts.py:23–27 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
21
22
23
class
Customer(Base):
24
__tablename__ =
"customer"
25
id = Column(Integer, Identity(), primary_key=True)
26
name = Column(String(255))
27
description = Column(String(255))
28
29
30
Profiler.init(
"single_inserts"
, num=10000)
Callers
2
test_orm_commit
Function · 0.70
test_bulk_save
Function · 0.70
Calls
3
Column
Class · 0.90
Identity
Class · 0.90
String
Class · 0.90
Tested by
2
test_orm_commit
Function · 0.56
test_bulk_save
Function · 0.56