Get will likely be slower than walk, but there are some things you can do.
Instead of walking the whole interfaces and ifXTable, you could walk just some of the metrics. Here's a simple generator.yml:
modules:
if_mib:
walk:
- ifDescr
- ifHCOutOctets
- ifHCInOctets
That will reduce the excess data you're not using.
There are also a couple of performance things to check.
* Are you using snmp v2/3? They are much more efficient than v1.
* What is the latency between your device(s) and your exporter? SNMP is very latency and packet loss sensitive.