J. Nick Koston
9c039a17ea
Bump guppy3 to 3.1.3 ( #93124 )
2023-05-16 08:26:17 +02:00
epenet
e277bbb513
Use tmp_path in tests ( #91203 )
...
* Use tmp_path in tests
* Use joinpath
* Prefer / operator
* Cleanup
2023-04-12 08:19:01 +02:00
J. Nick Koston
51ff027fce
Add object source logger to profiler ( #90650 )
...
* Add object source logger to profiler
* fixes
* cleanup
* tweaks
* logging
* logging
* too intensive
* adjust
* Update homeassistant/bootstrap.py
* fixes
* fixes
* coverage
2023-04-02 20:54:21 -04:00
J. Nick Koston
9dc936f8b9
Add sqlalchemy LRUs to the profiler lru service ( #90428 )
2023-03-28 12:02:35 -10:00
J. Nick Koston
2fd872b253
Speed up profiler lru test ( #90395 )
2023-03-28 11:02:08 +02:00
J. Nick Koston
dc37d92197
Add lru stats to the profiler integration ( #90388 )
2023-03-28 08:34:56 +02:00
epenet
ab4a726e6c
Add tmpdir to known fixtures in pylint ( #89844 )
2023-03-17 10:22:02 +01:00
J. Nick Koston
61539686a4
Disable profiler.memory service with python 3.11 ( #88136 )
2023-02-15 16:20:47 +01:00
epenet
2cdc741900
Add type hints to integration tests (part 17) ( #88163 )
2023-02-15 11:14:04 +01:00
Paulus Schoutsen
d54f59478f
Keep task references while running ( #87970 )
...
* Keep task references while running
* Update pilight tests pointing at correct logger call
* Fix graphite tests
* Fix profiler tests
* More graphite test fixes
* Remove extra sleep
* Fix tests
* Shutdown background tasks as part of stage 1
* Remove unnecessary sleep in test
* Remove unused method on mock hass
* Skip on cancelled too
* Remove background tasks
* Test trigger variables without actually sleeping
* Fix graphite
* One more graphite grrrrrrr
2023-02-13 23:16:59 -05:00
epenet
3abf7ea18a
Add type hints to integration tests (m-p) ( #87705 )
2023-02-08 07:48:54 -08:00
J. Nick Koston
a9a5645255
Defer profiler imports until needed to reduce memory pressure ( #70202 )
2022-04-17 20:16:25 -10:00
J. Nick Koston
cf685ef651
Fix profiler object growth logging test ( #69211 )
2022-04-03 20:39:47 +02:00
J. Nick Koston
bfe94f1cc5
Fix profiler dumping object when repr fails ( #67674 )
...
* Fix profiler dumping object when repr fails
* cover
2022-03-08 10:33:08 +01:00
Paulus Schoutsen
a4d9019ffc
Refactor persistent notification to no longer route all data via a service ( #57157 )
...
* Convert persistent notification tests to async
* Create/dismiss persistent notifications in exposed functions, not service calls
* Fix notify persistent_notification
* Remove setting up persistent_notification
* Drop more setups
* Empty methods
* Undeprecate sync methods because too big task
* Fix setup clearing notifications
* Fix a bunch of tests
* Fix more tests
* Uno mas
* Test persistent notification events
* Clean up stale comment
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-10-07 12:58:00 +02:00
tkdrob
664075962f
Clean up profiler constants ( #49752 )
2021-04-27 10:04:45 -04:00
J. Nick Koston
7f6572893d
Add services to the profiler to log threads and event loop schedule ( #49327 )
...
* Add services to the profiler to log threads and event loop schedule
* improve readability
* increase log debug
* bigger
* tweaks
* Update homeassistant/components/profiler/__init__.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/profiler/__init__.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* remove schema= and cleanup existing
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-19 11:39:34 +02:00
Franck Nijhof
969c147b77
Clean up superfluous integration setup - part 4 ( #49295 )
...
* Clean up superfluous integration setup - part 4
* Adjust tests
2021-04-16 17:46:49 +02:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
J. Nick Koston
add50cb33a
Add services to log and dump objects to the profiler to help track down memory leaks ( #42951 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-11-09 10:54:18 -10:00
Jason Hunter
2a795c0397
Add guppy3 memory profile to Profiler integration ( #42435 )
...
* add guppy memory profile to profiler integration
* add output path to notification
* create new service for memory profile
* address review comments
2020-10-28 21:05:16 -04:00
Paulus Schoutsen
1c36bf5e19
Fix block till done in create entry config flow tests ( #42290 )
2020-10-24 16:20:56 +02:00
J. Nick Koston
494d4a262a
Add Profiler integration ( #41175 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-05 07:57:07 -05:00