Get rid of instanceof *Type checks
#23319
| Job | Run time |
|---|---|
| 3m 32s | |
| 3m 40s | |
| 3m 29s | |
| 3m 41s | |
| 1m 55s | |
| 1m 58s | |
| 2m 26s | |
| 4m 37s | |
| 4m 10s | |
| 3m 36s | |
| 4m 4s | |
| 1m 50s | |
| 2m 39s | |
| 3m 12s | |
| 2m 16s | |
| 1m 54s | |
| 1m 52s | |
| 1m 57s | |
| 4m 8s | |
| 3m 41s | |
| 1h 0m 37s |