Torch compile and onnx.export

is there any performance gain if I apply torch.compile before onnx.export?

model = torch.compile(model, **compile_cfg)
torch.onnx.export(
            model,
            input,
            "model.onnx",
            **onnx_cfg,
        )