The ability to detect a chemical gradient is fundamental to many cellular processes. In multicellular organisms gradient sensing plays an important role in many physiological processes such as wound healing and development. Unicellular organisms use gradient sensing to move (chemotaxis) or grow (chemotropism) towards a favorable environment. Some cells are capable of detecting extremely shallow gradients, even in the presence of significant molecular-level noise. For example, yeast have been reported to detect pheromone gradients as shallow as 0.1 nM/xcexbcm. Noise reduction mechanisms, such as time-averaging and the internalization of pheromone molecules, have been proposed to explain how yeast cells filter fluctuations and detect shallow gradients. Here, we use a Particle-Based Reaction-Diffusion model of ligand-receptor dynamics to test the effectiveness of these mechanisms and to determine the limits of gradient sensing. In particular, we develop novel simulation methods for establishing chemical gradients that not only allow us to study gradient sensing under steady-state conditions, but also take into account transient effects as the gradient forms. Based on reported measurements of reaction rates, our results indicate neither time-averaging nor receptor endocytosis significantly improves the cells accuracy in detecting gradients over time scales associated with the initiation of polarized growth. Additionally, our results demonstrate the physical barrier of the cell membrane sharpens chemical gradients across the cell. While our studies are motivated by the mating response of yeast, we believe our results and simulation methods will find applications in many different contexts.