Low FPS with shader

Can the fps count be increased when using a shader near create contraptions? I can't find a shader or shader option that improves my frame rate. When I come near a contraption (even turned-off ones), my FPS instantly sinks from 160+ to 20–30 fps.