The Gaia-ESO survey (GES; Gilmore et al. (2012), Randich et al. (2013)) is a spectroscopic survey complementing the Gaia mission to bring accurate radial velocities and chemical abundances for 105 stars. Merle et al. (submitted to A&A; see also this volume) developped a tool (DOE) to detect multiple peaks in the cross-correlation functions (CCFs) of GES spectra. Using the GIRAFFE HR10 and HR21 settings, we were able to compare the efficiency of our SB detection tool depending on the wavelength range and resolution. We show that a careful design of CCF masks can improve the detection rate in the HR21 settings. HR21 spectra are similar to the ones produced by the RVS spectrograph of the Gaia mission, though the lower resolution of RVS spectra may result in a lower detection efficiency than the case of HR21. Analysis of RVS spectra in the context of spectroscopic binaries can take advantage of the lessons learnt from the GES to maximize the detection rate.