Get rid of instanceof *Type checks
#23316
| Job | Run time |
|---|---|
| 3m 33s | |
| 1m 51s | |
| 3m 51s | |
| 3m 25s | |
| 3m 27s | |
| 1m 40s | |
| 2m 26s | |
| 2m 19s | |
| 4m 18s | |
| 2m 35s | |
| 4m 10s | |
| 3m 58s | |
| 4m 7s | |
| 1m 49s | |
| 3m 57s | |
| 3m 20s | |
| 1m 58s | |
| 1m 58s | |
| 2m 4s | |
| 3m 59s | |
| 1h 0m 45s |