Sense of agency refers to the subjective feeling of being able to control an outcome through one's own actions or will. Prior studies have shown that both sensory processing (e.g., comparisons between sensory feedbacks and predictions basing on one's motor intentions) and high-level cognitive/constructive processes (e.g., inferences based on one's performance or the consequences of one's actions) contribute to judgments of sense of agency. However, it remains unclear how these two types of processes interact, which is important for clarifying the mechanisms underlying sense of agency. Thus, we examined whether performance-based inferences influence action-effect integration in sense of agency using a delay detection paradigm in two experiments. In both experiments, participants pressed left and right arrow keys to control the direction in which a moving dot was travelling. The dot's response delay was manipulated randomly on 7 levels (0-480ms) between the trials; for each trial, participants were asked to judge whether the dot response was delayed and to rate their level of agency over the dot. In Experiment 1, participants tried to direct the dot to reach a destination on the screen as quickly as possible. Furthermore, the computer assisted participants by ignoring erroneous commands for half of the trials (assisted condition), while in the other half, all of the participants' commands were executed (self-control condition). In Experiment 2, participants directed the dot as they pleased (without a specific goal), but, in half of the trials, the computer randomly ignored 32% of their commands (disturbed condition) rather than assisted them. The results from the two experiments showed that performance enhanced action-effect integration. Specifically, when task performance was improved through the computer's assistance in Experiment 1, delay detection was reduced in the 480-ms delay condition, despite the fact that 32% of participants' commands were ignored. Conversely, when no feedback on task performance was given (as in Experiment 2), the participants reported greater delay when some of their commands were randomly ignored. Furthermore, the results of a logistic regression analysis showed that the threshold of delay detection was greater in the assisted condition than in the self-control condition in Experiment 1, which suggests a wider time window for action-effect integration. A multivariate analysis also revealed that assistance was related to reduced delay detection via task performance, while reduced delay detection was directly correlated with a better sense of agency. These results indicate an association between the implicit and explicit aspects of sense of agency.